summaryrefslogtreecommitdiff
path: root/dev-tcltk/itcl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-03 03:04:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-03 03:04:04 +0000
commit212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (patch)
treedbbe26e892147b95a24336cc44d791dbe0c0ce5f /dev-tcltk/itcl
parent37a097af13d675b83911ac006ee9ee22d2163f9a (diff)
gentoo auto-resync : 03:11:2024 - 03:04:03
Diffstat (limited to 'dev-tcltk/itcl')
-rw-r--r--dev-tcltk/itcl/Manifest2
-rw-r--r--dev-tcltk/itcl/itcl-4.3.1.ebuild77
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-tcltk/itcl/Manifest b/dev-tcltk/itcl/Manifest
index 9d7554b7c641..cc3413dd2f68 100644
--- a/dev-tcltk/itcl/Manifest
+++ b/dev-tcltk/itcl/Manifest
@@ -1,6 +1,8 @@
AUX itcl-4.2.4-gentoo.patch 435 BLAKE2B 2097c09df204f1b63132dbfa48dbbc9f8abfaf2c167757ba568f083ba8324f99a020daac1db5dbf82f0fe21c3f818dfd722fd1a003a7bbd9876a6f1d04c0d0e0 SHA512 a3a5f1a6e2814e9b9d99f5920e50b7b095eafae2a0595b5275eb085710ae03136a3fbf1a1ac7b78091fe3d9a51fe5bd3a841ecb8089e1d72d51b1d2ccfedc322
DIST itcl-4-2-2.tar.gz 522497 BLAKE2B 3bb79525e5796b37b9274fe514b2430f8cd3f17f9b63ad008e1cc011eb298d47efedc9b684ea23cc0811f2da5f14d5dbc2c6e4b3ebf8bd7787fcc71661a621db SHA512 60bb5fba6c1188cbec15236c2f33b2409ff7a77af89526552a865376703574d01075fa9422d89e6f10c188b3eb8b3553f6d449704f55444005d2050de1c255d6
DIST itcl-4-2-4.tar.gz 536828 BLAKE2B 970d6e5cbe7322d88a0117737df553f155cdda3264aaae93b30db361f40296dde74f1652d26bb6afccc3ca4c825fbc012710d8292b6df991af3a86f8e31c2e8b SHA512 fbe3e4298721b97777947675b42a434c8c7ec566564b81b1479fb958519ac4176b707f9be7bc6860ee72ee10fe29c82b211c4ac816f9ba6d4269ab43007eefe6
+DIST itcl-4-3-1.tar.gz 537928 BLAKE2B 5d388724b2d279db0b4e66b154cd07116d9db7c0353eff3a76f3427d20db23da1a1dc0d4e39a158c124af94d416750e0eb803f3d1ee5d1f864ab8fffbe46c363 SHA512 12d0f02a33fcc511be65930bd375924d0edda1d01de0d5c9adaf56dceaace2b2f73a9eefb313fbeafe5434e67994166f2cd31cf43ea102f9b5e2eed48d16dbcb
EBUILD itcl-4.2.2.ebuild 1635 BLAKE2B 8ebb59d99e2f7a14f59112077efece384e7fbd7cb1851d0ddf65f9d943224d8367b85a70afe6b309044d8c53839d0707fbb518bfec38b62a2fbddc96bc6f525a SHA512 ac627275fdacf68630b453ffd7109ee7ffc24a17d228345b17b9f253b8c6fd54513b54e6a9d42605ca2e3dfbd6b72dbfe621dc07d242bd93c1c160d123177b62
EBUILD itcl-4.2.4-r1.ebuild 1816 BLAKE2B 69d3bc93259863594ad62c6f93a80f32a1252efc0c799d219387232f5115613ff45738e6850819000380d6a4ee94400c25103926e78dfbe739af72553ef00834 SHA512 4f6058ab10020f0d3fa2b515ddfd8ea25a1f2d4035d4901518fb2ed63ffda09d48ce9d77a148b1c5c7e7102d97aca3d1e32240eff42ba2892dc0b04e14384d3a
+EBUILD itcl-4.3.1.ebuild 1823 BLAKE2B fd20be503c274ccc428fff5b8643735c953f23e0da8158c6b0e335209ce18dc119f54464ae6dd86fca11d792939316b5bf36e6cbe11427f8c67b3aef6c64c4af SHA512 3123634f18be8a808d0146b26ef857bc3ea13a3ee8cc8be62d9a0f208ce179098ea327fa78f9505de27ab703766400716e769d05b15ff19b11422bcb2016e500
MISC metadata.xml 381 BLAKE2B 10be715b2d7375efe50d58e9fa2ac732553271e077bdebed3a0422b0a3f0932aa6d2ccb15f4c1db1aca8d619b20efc593d417b5adbec6c1dfb41ddda409e98b5 SHA512 6343f2deffd5ac471db9b2ebfa6ed602a4ce2beed9aa47e58e3bf49c040f847d12f209549151ca4947f6690f001effa8e8ab60172e8b2a182c59b77938761417
diff --git a/dev-tcltk/itcl/itcl-4.3.1.ebuild b/dev-tcltk/itcl/itcl-4.3.1.ebuild
new file mode 100644
index 000000000000..f0d0f1757e79
--- /dev/null
+++ b/dev-tcltk/itcl/itcl-4.3.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MYP="${PN}-$(ver_rs 1- '-')"
+
+DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
+HOMEPAGE="http://incrtcl.sourceforge.net/"
+SRC_URI="https://github.com/tcltk/${PN}/archive/refs/tags/${MYP}.tar.gz"
+
+S="${WORKDIR}/${PN}-${MYP}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND=">=dev-lang/tcl-8.6:0="
+DEPEND="${RDEPEND}"
+
+# somehow broken
+#RESTRICT=test
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ stat64 opendir64 readdir64 rewinddir64 closedir64 # used on AIX
+)
+
+PATCHES=( "${FILESDIR}"/${PN}-4.2.4-gentoo.patch )
+
+src_prepare() {
+ default
+ cp -r itclWidget/tclconfig tclconfig || die
+ echo "git-a3e8b43c671afc7f0d82bd892325d42c813791ab" > manifest.uuid
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
+ --with-tclinclude="${EPREFIX}"/usr/include \
+ --disable-rpath
+}
+
+src_compile() {
+ # adjust install_name on darwin
+ if [[ ${CHOST} == *-darwin* ]]; then
+ sed -i \
+ -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name ${pkglibdir}/$@:' \
+ "${S}"/Makefile || die 'sed failed'
+ fi
+
+ sed 's:-pipe::g' -i Makefile || die
+
+ emake CFLAGS_DEFAULT="${CFLAGS}"
+}
+
+src_install() {
+ default
+
+ local MY_P=${PN}${PV}
+
+ sed \
+ -e "/BUILD_LIB_SPEC/s:-L${S}::g" \
+ -e "/BUILD_STUB_LIB_SPEC/s:-L${S}::g" \
+ -e "/BUILD_STUB_LIB_PATH/s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \
+ -e "/INCLUDE_SPEC/s:${S}/generic:${EPREFIX}/usr/include:g" \
+ -e "s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \
+ -i "${ED}"/usr/$(get_libdir)/${MY_P}/itclConfig.sh || die
+
+ cat >> "${T}"/34${PN} <<- EOF
+ LDPATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/"
+ EOF
+ doenvd "${T}"/34${PN}
+ dosym . /usr/$(get_libdir)/${MY_P}/library
+}