summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-11-02 20:23:48 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-11-02 20:23:48 +0100
commit5deb557fc4cdc68904dfeff76118071f1335ce59 (patch)
treed019159bd2dd77025df7835e92925365a2ac5110 /dev-tcltk/thread
parentapp-portage/cfg-update: EAPI bump and set ALLARCHES (diff)
downloadgentoo-5deb557fc4cdc68904dfeff76118071f1335ce59.tar.gz
gentoo-5deb557fc4cdc68904dfeff76118071f1335ce59.tar.bz2
gentoo-5deb557fc4cdc68904dfeff76118071f1335ce59.zip
dev-tcltk/thread: bump 2.8.5
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/thread')
-rw-r--r--dev-tcltk/thread/Manifest1
-rw-r--r--dev-tcltk/thread/thread-2.8.5.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-tcltk/thread/Manifest b/dev-tcltk/thread/Manifest
index b8b4161cf0e9..2d63ee06b23a 100644
--- a/dev-tcltk/thread/Manifest
+++ b/dev-tcltk/thread/Manifest
@@ -1 +1,2 @@
DIST thread2.8.2.tar.gz 346222 BLAKE2B 194673b14b3f6b98a46330afa58caaf705feb2d8713606547d0d7e5b18770c5729fd562c81e66b403040622afdbdf62b994bd3ef62678d00915ba48f1eafc786 SHA512 0889f54ba8c76413f0333bdf6f17cca38c4fa8ccfff7e1554a63f38f19471dc72c3afe34d2e38ea00724aa3f0c007051999392a8d188d47265dbf0527dadceea
+DIST thread2.8.5.tar.gz 338776 BLAKE2B b6500ba59f87150d3d4479cae9a55b591a41768c6a74520933157d8fe2ec5374a79cf258fad1f08c775b190c17667dc529605f21a4fdd562320778be94b294a2 SHA512 b1cd049605f44ea5e85a121ff864d9e531491b24579654159dd5f3850b0aa4192ea79844324be3e9c6b395b14e6f765474c792bfd3271c7100b49f0ff22832d0
diff --git a/dev-tcltk/thread/thread-2.8.5.ebuild b/dev-tcltk/thread/thread-2.8.5.ebuild
new file mode 100644
index 000000000000..f9b48fdfd4eb
--- /dev/null
+++ b/dev-tcltk/thread/thread-2.8.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_P="${PN}${PV}"
+
+DESCRIPTION="Tcl Thread extension"
+HOMEPAGE="http://www.tcl.tk/"
+SRC_URI="mirror://sourceforge/project/tcl/Thread%20Extension/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/tcl:0=[threads]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+ default
+
+ # Search for libs in libdir not just exec_prefix/lib
+ sed -i -e 's:${exec_prefix}/lib:${libdir}:' \
+ aclocal.m4 || die "sed failed"
+
+ sed -i -e "s/relid'/relid/" tclconfig/tcl.m4 || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --with-tclinclude="${EPREFIX}/usr/include" \
+ --with-tcl="${EPREFIX}/usr/$(get_libdir)"
+}