diff options
Diffstat (limited to 'dev-lang/tk')
-rw-r--r-- | dev-lang/tk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/tk/Manifest | 18 | ||||
-rw-r--r-- | dev-lang/tk/files/digest-tk-8.4.3 | 1 | ||||
-rw-r--r-- | dev-lang/tk/tk-8.4.3.ebuild | 71 |
4 files changed, 88 insertions, 9 deletions
diff --git a/dev-lang/tk/ChangeLog b/dev-lang/tk/ChangeLog index c6f0138aa41f..56e26b552d74 100644 --- a/dev-lang/tk/ChangeLog +++ b/dev-lang/tk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/tk # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.16 2003/05/19 08:38:20 utx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.17 2003/06/30 23:14:03 aliz Exp $ + +*tk-8.4.3 (30 Jun 2003) + + 30 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> tk-8.4.3.ebuild : + Version bump. *tk-8.4.2-r1 (19 May 2003) diff --git a/dev-lang/tk/Manifest b/dev-lang/tk/Manifest index 0f4e697f7f7a..063fd298b535 100644 --- a/dev-lang/tk/Manifest +++ b/dev-lang/tk/Manifest @@ -1,3 +1,13 @@ +MD5 1b6ce4d77db2f4414972791dade10abd ChangeLog 2831 +MD5 e6dde470753885b1bf87ab6ab2288ccd tk-8.3.3-r2.ebuild 2080 +MD5 704532e0a94fa9f83874a9c1528cc3b7 tk-8.3.3-r3.ebuild 2179 +MD5 73186dca20f76c9f8f3be631350b5f6f tk-8.3.3.ebuild 2025 +MD5 1115bfdb45296390e22690960f19a264 tk-8.3.4.ebuild 2181 +MD5 01ec4c4501818665b6efcfb1795e117e tk-8.4.3.ebuild 1979 +MD5 1ad9d82c99dba4c44ccf2e84c5314a2f tk-8.3.4-r1.ebuild 1990 +MD5 01ec4c4501818665b6efcfb1795e117e tk-8.4.2.ebuild 1979 +MD5 ffa0a2b1e7a4e947b5e672ff2a748109 tk-8.4.2-r1.ebuild 1985 +MD5 b3e7fb189b73f361f1fa7abddd3ee14a files/digest-tk-8.4.3 64 MD5 2ba3335fd9167fef8f3f99be70675257 files/digest-tk-8.3.3 60 MD5 2ba3335fd9167fef8f3f99be70675257 files/digest-tk-8.3.3-r2 60 MD5 2ba3335fd9167fef8f3f99be70675257 files/digest-tk-8.3.3-r3 60 @@ -7,11 +17,3 @@ MD5 0321d3bb5b70142a415de40ae2d5e3d4 files/digest-tk-8.3.4-r1 192 MD5 a65c7aa6c260fbb5974e34fa22fb5f68 files/digest-tk-8.4.2 64 MD5 e662e61449ea86b439ceb41463762cdc files/remove-control-v-8.4.diff 449 MD5 a65c7aa6c260fbb5974e34fa22fb5f68 files/digest-tk-8.4.2-r1 64 -MD5 e6dde470753885b1bf87ab6ab2288ccd tk-8.3.3-r2.ebuild 2080 -MD5 704532e0a94fa9f83874a9c1528cc3b7 tk-8.3.3-r3.ebuild 2179 -MD5 73186dca20f76c9f8f3be631350b5f6f tk-8.3.3.ebuild 2025 -MD5 1115bfdb45296390e22690960f19a264 tk-8.3.4.ebuild 2181 -MD5 1b6ce4d77db2f4414972791dade10abd ChangeLog 2831 -MD5 1ad9d82c99dba4c44ccf2e84c5314a2f tk-8.3.4-r1.ebuild 1990 -MD5 01ec4c4501818665b6efcfb1795e117e tk-8.4.2.ebuild 1979 -MD5 ffa0a2b1e7a4e947b5e672ff2a748109 tk-8.4.2-r1.ebuild 1985 diff --git a/dev-lang/tk/files/digest-tk-8.4.3 b/dev-lang/tk/files/digest-tk-8.4.3 new file mode 100644 index 000000000000..4216d8cbc80f --- /dev/null +++ b/dev-lang/tk/files/digest-tk-8.4.3 @@ -0,0 +1 @@ +MD5 e3ec11e314c9541b84e0415fbe9d947e tk8.4.3-src.tar.gz 3149784 diff --git a/dev-lang/tk/tk-8.4.3.ebuild b/dev-lang/tk/tk-8.4.3.ebuild new file mode 100644 index 000000000000..74412a94e20a --- /dev/null +++ b/dev-lang/tk/tk-8.4.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.4.3.ebuild,v 1.1 2003/06/30 23:14:03 aliz Exp $ + +S=${WORKDIR}/${PN}${PV} +SRC_URI="ftp://ftp.scriptics.com/pub/tcl/tcl8_4/${PN}${PV}-src.tar.gz" +HOMEPAGE="http://dev.scriptics.com/software/tcltk/" +DESCRIPTION="Tk Widget Set" +IUSE="" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~x86" + +DEPEND=">=sys-apps/sed-4.0.5 + >=sys-apps/portage-2.0.47-r10 + virtual/x11 + =dev-lang/tcl-${PV}*" + +src_unpack() { + unpack ${A} + cd ${S}/library + epatch ${FILESDIR}/remove-control-v-8.4.diff +} + +# hyper-optimizations untested... +# +src_compile() { + cd ${S}/unix + econf \ + --with-tcl=/usr/lib \ + --enable-threads || die + + emake CFLAGS="${CFLAGS}" || die +} + +src_install() { + #short version number + local v1 + v1=${PV%.*} + + cd ${S}/unix + make INSTALL_ROOT=${D} MAN_INSTALL_DIR=${D}/usr/share/man install || die + + # fix the tkConfig.sh to eliminate refs to the build directory + sed -i \ + -e "s,^\(TK_BUILD_LIB_SPEC='-L\)${S}/unix,\1/usr/lib," \ + -e "s,^\(TK_SRC_DIR='\)${S}',\1/usr/lib/tk${v1}/include'," \ + -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${S}/unix,\1/usr/lib," \ + -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${S}/unix,\1/usr/lib," \ + ${D}/usr/lib/tkConfig.sh + + # install private headers + dodir /usr/lib/tk${v1}/include/unix + install -c -m0644 ${S}/unix/*.h ${D}/usr/lib/tk${v1}/include/unix + dodir /usr/lib/tk${v1}/include/generic + install -c -m0644 ${S}/generic/*.h ${D}/usr/lib/tk${v1}/include/generic + rm -f ${D}/usr/lib/tk${v1}/include/generic/tk.h + rm -f ${D}/usr/lib/tk${v1}/include/generic/tkDecls.h + rm -f ${D}/usr/lib/tk${v1}/include/generic/tkPlatDecls.h + + # install symlink for libraries + #dosym /usr/lib/libtk${v1}.a /usr/lib/libtk.a + dosym /usr/lib/libtk${v1}.so /usr/lib/libtk.so + dosym /usr/lib/libtkstub${v1}.a /usr/lib/libtkstub.a + + ln -sf wish${v1} ${D}/usr/bin/wish + + cd ${S} + dodoc README changes license.terms +} |