From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE0C6138334 for ; Wed, 1 Jan 2020 15:53:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 228D7E0845; Wed, 1 Jan 2020 15:53:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EDB3DE0845 for ; Wed, 1 Jan 2020 15:53:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B2DC634DDD8 for ; Wed, 1 Jan 2020 15:53:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2863637 for ; Wed, 1 Jan 2020 15:53:25 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1577893992.9e7fdb7443803d886d3a079eed1e9b156dca05e9.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild X-VCS-Directories: dev-tcltk/tclreadline/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 9e7fdb7443803d886d3a079eed1e9b156dca05e9 X-VCS-Branch: master Date: Wed, 1 Jan 2020 15:53:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ff84c2a5-35e0-4d33-9bbc-6b6761efa5b9 X-Archives-Hash: be02a20a2d1407872d066cf243bc9f1c commit: 9e7fdb7443803d886d3a079eed1e9b156dca05e9 Author: Tupone Alfredo gentoo org> AuthorDate: Wed Jan 1 15:53:12 2020 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed Jan 1 15:53:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7fdb74 dev-tcltk/tclreadline: EAPI 7 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild | 72 +++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild new file mode 100644 index 00000000000..148b7aefd19 --- /dev/null +++ b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools libtool + +DEBIAN_PATCH=12 + +DESCRIPTION="Readline extension to TCL" +HOMEPAGE="http://tclreadline.sf.net/" +SRC_URI=" + mirror://sourceforge/${PN}/${P}.tar.gz + mirror://debian/pool/main/t/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +DEPEND=" + dev-lang/tcl:0= + sys-libs/readline:0=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-gold.patch + "${FILESDIR}"/${P}-alloc-free.patch + "${FILESDIR}"/${P}-rl-executing-macro.patch + "${FILESDIR}"/${P}-rl-history-expand.patch + "${FILESDIR}"/${P}-rl-prompt.patch + "${WORKDIR}"/debian/patches/complete_nontcl.patch + "${WORKDIR}"/debian/patches/completion_matches.patch + "${WORKDIR}"/debian/patches/completion_pbug.patch + "${WORKDIR}"/debian/patches/kfreebsd.patch + "${WORKDIR}"/debian/patches/link.patch + "${WORKDIR}"/debian/patches/manpage.patch + "${WORKDIR}"/debian/patches/memuse.patch + "${WORKDIR}"/debian/patches/tclshpath.patch + "${WORKDIR}"/debian/patches/tinfo.patch + "${WORKDIR}"/debian/patches/varnames.patch +) + +src_prepare() { + sed \ + -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ + -e "/^TCLRL_LIBDIR/s:lib:$(get_libdir):g" \ + -i configure.in || die + mv configure.{in,ac} || die + sed \ + -e 's:configure.in:configure.ac:g' \ + -i "${WORKDIR}"/debian/patches/* || die + + default + eautoreconf + elibtoolize --patch-only +} + +src_configure() { + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + --with-tcl="${EPREFIX}/usr/$(get_libdir)" \ + --with-tcl-includes="${EPREFIX}/usr/include" \ + --with-readline-includes="${EPREFIX}/usr/include" \ + --with-readline-library="-lreadline" +} + +src_install() { + default + find "${D}" -name \*.la | xargs rm +}