diff options
Diffstat (limited to 'dev-tcltk/tclreadline')
-rw-r--r-- | dev-tcltk/tclreadline/Manifest | 1 | ||||
-rw-r--r-- | dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-tcltk/tclreadline/Manifest b/dev-tcltk/tclreadline/Manifest index aba823bb7f18..788294e3ae87 100644 --- a/dev-tcltk/tclreadline/Manifest +++ b/dev-tcltk/tclreadline/Manifest @@ -7,5 +7,6 @@ DIST tclreadline-2.1.0.tar.gz 160541 BLAKE2B 44dfd7626b969d03343cfa768d0ad72b932 DIST tclreadline-2.3.8.tar.gz 393167 BLAKE2B e6a8d35904a0ed22fac01d7f6b6ecc9eef99acea149253ec9a0f7a3463a163ef17daa052bd4801fb9e365b056ab58d69fe2ec9884a9279881638c7b99c12f6a7 SHA512 0c5ce53a8f4cc222de013932698e442c63b36e3f07d10b962d127444f75c28b2caf7f06b5958150748f7a1d535c577c825b9a0dd525e077a348c3ff899a74e61 DIST tclreadline_2.1.0-12.debian.tar.gz 9636 BLAKE2B b84487e2e05649c899f705ee4c4ea80a7b05c99440e9b905587300342ce54d48a7d32b750ec2c2a3a12f1aa991f2a47167243ec962f539e02383aac62530a3d9 SHA512 293e9ad14a469891f68b25caa78a99874de87df4c44af4ada7528cf74e898be42b7846fbb6eeabb2dec34995a9ccd9707c61f406b90b90dbca2c24df05f451eb EBUILD tclreadline-2.1.0-r5.ebuild 1849 BLAKE2B b7fa4bf1db26f914acd559e6b30cfd8515f379d48dcc67b13f8be2e9a1ca8452fd802c59d5a31c34eb2e533c4996cb804fa75133cc309e87583dc3309e355199 SHA512 e07faa38e34fdab0c78673b3a824ae5f8fc9734e7477ae2a19aba437d0a90e1af0a8057a2d58f8dd7af6538ed6181336830402a0e3551c72046100b3fdbc1db6 +EBUILD tclreadline-2.3.8-r1.ebuild 835 BLAKE2B 690efb6618b5c23bda12962e85b8ca061b57c6d98eab5e1ecc2d23acb147520cddc058c890b34cda33fa8da17031f0ce02d7c5020b7fe3825e013d703b1d8940 SHA512 047cd2f415ce272b9ba4c1025531b1cd2c9fd99ba22552444aec19c98cc1fc00d9e7c6a654f0df42ea90ce44bff5172feaaff3747f74b3394f96596aadd7d9d5 EBUILD tclreadline-2.3.8.ebuild 817 BLAKE2B 6b99b8590ae2a1d43a7c2b0c804886857978357dddf9730d2039bb9a4101e776325255dfbc6df91815709e960c45d44bff016c0cf360081bd7f04f892a5668ac SHA512 7e91620a657d3549e282d2924abc109338e8127e9857809e8142a05e2f674f6941ee096d7a9d3a05d0d17466ebc8e51d87038d25e13ce109f21f2eda2a67c0cb MISC metadata.xml 334 BLAKE2B b04f2a6d45f622095b6c4a34a0752583e773c10a7df53c77f02d642dc8ca715a1ab9dbd2ad64122142fd93122b004cd456350774a082cd3f72d0b920eb54e03c SHA512 23517fbebe1eedf4558ec1c04e10774229762eb7279d0bda99f602fac526afd817968bbff0ba23a1ef433684afda85f830ed7f5643b7c9cca22e7d2f66f71691 diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild new file mode 100644 index 000000000000..8d94f9c47fb3 --- /dev/null +++ b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Readline extension to TCL" +HOMEPAGE="https://github.com/flightaware/tclreadline" +SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="tk" + +DEPEND="dev-lang/tcl:0= + sys-libs/readline:0= + tk? ( dev-lang/tk:0= )" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + sed -i \ + -e "s|^\(TCLRL_LIBDIR\)=.*|\1=\"${EPREFIX}/usr/$(get_libdir)\"|" \ + configure || die +} + +src_configure() { + local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)" + if ! use tk; then + myConf="$myConf --without-tk" + fi + econf $myConf +} + +src_install() { + default + find "${D}" -name \*.la -delete +} |