From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/
Date: Wed, 1 Jan 2020 15:53:25 +0000 (UTC) [thread overview]
Message-ID: <1577893992.9e7fdb7443803d886d3a079eed1e9b156dca05e9.tupone@gentoo> (raw)
commit: 9e7fdb7443803d886d3a079eed1e9b156dca05e9
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 1 15:53:12 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> 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 <tupone <AT> 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
+}
next reply other threads:[~2020-01-01 15:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-01 15:53 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-11 9:52 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/ Agostino Sarubbo
2020-02-11 11:09 Agostino Sarubbo
2020-02-11 11:30 Agostino Sarubbo
2020-02-11 17:49 Alfredo Tupone
2020-05-04 20:13 Alfredo Tupone
2020-05-05 6:01 Alfredo Tupone
2020-05-26 20:08 Alfredo Tupone
2021-01-24 11:58 Agostino Sarubbo
2021-01-24 12:10 Agostino Sarubbo
2021-01-24 13:35 Sam James
2021-02-16 8:05 Alfredo Tupone
2021-02-26 19:10 Alfredo Tupone
2021-04-11 11:06 Sam James
2021-04-11 11:13 Sam James
2021-04-11 13:13 Sam James
2021-04-11 13:41 Alfredo Tupone
2021-11-03 18:45 Alfredo Tupone
2022-11-23 0:48 Sam James
2024-11-04 20:48 Alfredo Tupone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1577893992.9e7fdb7443803d886d3a079eed1e9b156dca05e9.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox