summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Leitch <port001@gentoo.org>2004-04-20 00:28:05 +0000
committerIan Leitch <port001@gentoo.org>2004-04-20 00:28:05 +0000
commit3a6c11d1fb7c63200f21b4e953cc8f638638f59c (patch)
tree71bd8da79268799649457fed729f12616c7e4612 /dev-lang/tcl
parentAdded ~alpha to keywords. (diff)
downloadhistorical-3a6c11d1fb7c63200f21b4e953cc8f638638f59c.tar.gz
historical-3a6c11d1fb7c63200f21b4e953cc8f638638f59c.tar.bz2
historical-3a6c11d1fb7c63200f21b4e953cc8f638638f59c.zip
Removed stale ebuilds
Diffstat (limited to 'dev-lang/tcl')
-rw-r--r--dev-lang/tcl/ChangeLog7
-rw-r--r--dev-lang/tcl/Manifest16
-rw-r--r--dev-lang/tcl/files/digest-tcl-8.3.3-r11
-rw-r--r--dev-lang/tcl/files/digest-tcl-8.3.3-r31
-rw-r--r--dev-lang/tcl/files/digest-tcl-8.4.31
-rw-r--r--dev-lang/tcl/files/digest-tcl-8.4.41
-rw-r--r--dev-lang/tcl/files/digest-tcl-8.4.51
-rw-r--r--dev-lang/tcl/tcl-8.3.3-r1.ebuild72
-rw-r--r--dev-lang/tcl/tcl-8.3.3-r3.ebuild73
-rw-r--r--dev-lang/tcl/tcl-8.4.3.ebuild87
-rw-r--r--dev-lang/tcl/tcl-8.4.4.ebuild82
-rw-r--r--dev-lang/tcl/tcl-8.4.5.ebuild77
12 files changed, 9 insertions, 410 deletions
diff --git a/dev-lang/tcl/ChangeLog b/dev-lang/tcl/ChangeLog
index 29a05975b376..65a6fee893e0 100644
--- a/dev-lang/tcl/ChangeLog
+++ b/dev-lang/tcl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/tcl
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.26 2004/03/04 18:17:42 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.27 2004/04/20 00:28:01 port001 Exp $
+
+ 20 Apr 2004; Ian Leitch <port001@gentoo.org> -tcl-8.3.3-r1.ebuild,
+ -tcl-8.3.3-r3.ebuild, -tcl-8.4.3.ebuild, -tcl-8.4.4.ebuild,
+ -tcl-8.4.5.ebuild:
+ Removed stable ebuilds
*tcl-8.4.6 (04 Mar 2004)
diff --git a/dev-lang/tcl/Manifest b/dev-lang/tcl/Manifest
index 6ca560bacefc..8ecf15c38de4 100644
--- a/dev-lang/tcl/Manifest
+++ b/dev-lang/tcl/Manifest
@@ -1,15 +1,5 @@
-MD5 943d8eb3f9a0464d970139236a8f21a8 tcl-8.3.3-r1.ebuild 2066
-MD5 72b87b80641626ae3f14912a328ef6a8 tcl-8.4.5.ebuild 2609
-MD5 c03d7979ef7a8ff42a5947e3fdf132bc ChangeLog 3819
-MD5 0cb68aa8b0af3a35b9793165b10e3c3f tcl-8.4.6.ebuild 2626
-MD5 f16bfa6c34987b5bdc71be39b262ae9e tcl-8.4.3.ebuild 2671
-MD5 d5cac72c15df6cd543b5f530a648edf6 tcl-8.4.4.ebuild 2626
-MD5 20b56614e1c23dac56f07626f53ba649 tcl-8.3.3-r3.ebuild 2170
MD5 8457e085bd81e84fd52000d8df1f8167 tcl-8.3.4.ebuild 2180
-MD5 60769afac9fd8a34d060eb2626206265 files/digest-tcl-8.4.4 65
-MD5 ee8221e881e685cb7836325e4021881e files/digest-tcl-8.3.3-r3 61
-MD5 cb07b4bc1984a971b376e1da5e478fdc files/digest-tcl-8.4.6 65
-MD5 ee8221e881e685cb7836325e4021881e files/digest-tcl-8.3.3-r1 61
+MD5 c5cedc4cf330dac4608255d60515b426 ChangeLog 3997
+MD5 0cb68aa8b0af3a35b9793165b10e3c3f tcl-8.4.6.ebuild 2626
MD5 d8691f60be4023222834ccdf6ee6d498 files/digest-tcl-8.3.4 61
-MD5 2905200f7210fba21f82c96452f4d109 files/digest-tcl-8.4.5 65
-MD5 805b9b9face80f817e3a995e109d524d files/digest-tcl-8.4.3 65
+MD5 cb07b4bc1984a971b376e1da5e478fdc files/digest-tcl-8.4.6 65
diff --git a/dev-lang/tcl/files/digest-tcl-8.3.3-r1 b/dev-lang/tcl/files/digest-tcl-8.3.3-r1
deleted file mode 100644
index 6c06dbfe618b..000000000000
--- a/dev-lang/tcl/files/digest-tcl-8.3.3-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e94397490adb2c1c2b1990052b1a92b2 tcl8.3.3.tar.gz 2589894
diff --git a/dev-lang/tcl/files/digest-tcl-8.3.3-r3 b/dev-lang/tcl/files/digest-tcl-8.3.3-r3
deleted file mode 100644
index 6c06dbfe618b..000000000000
--- a/dev-lang/tcl/files/digest-tcl-8.3.3-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e94397490adb2c1c2b1990052b1a92b2 tcl8.3.3.tar.gz 2589894
diff --git a/dev-lang/tcl/files/digest-tcl-8.4.3 b/dev-lang/tcl/files/digest-tcl-8.4.3
deleted file mode 100644
index bd96a313d00c..000000000000
--- a/dev-lang/tcl/files/digest-tcl-8.4.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fedc2fa745db19c91e7f92aeeca75497 tcl8.4.3-src.tar.gz 3363725
diff --git a/dev-lang/tcl/files/digest-tcl-8.4.4 b/dev-lang/tcl/files/digest-tcl-8.4.4
deleted file mode 100644
index 63852333b10a..000000000000
--- a/dev-lang/tcl/files/digest-tcl-8.4.4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e503db5f1d762c2a3bbe7cb02c630659 tcl8.4.4-src.tar.gz 3370796
diff --git a/dev-lang/tcl/files/digest-tcl-8.4.5 b/dev-lang/tcl/files/digest-tcl-8.4.5
deleted file mode 100644
index f0ee055c52f4..000000000000
--- a/dev-lang/tcl/files/digest-tcl-8.4.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3fb354dba28166a1004f9103553a3974 tcl8.4.5-src.tar.gz 3444510
diff --git a/dev-lang/tcl/tcl-8.3.3-r1.ebuild b/dev-lang/tcl/tcl-8.3.3-r1.ebuild
deleted file mode 100644
index 2b6087d22b23..000000000000
--- a/dev-lang/tcl/tcl-8.3.3-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.3.3-r1.ebuild,v 1.15 2004/01/03 18:23:31 iggy Exp $
-
-
-S=${WORKDIR}/${PN}${PV}
-SRC_URI="ftp://ftp.scriptics.com/pub/tcl/tcl8_3/${PN}${PV}.tar.gz"
-
-
-HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
-
-DESCRIPTION="Tool Command Language"
-
-DEPEND="virtual/glibc"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="x86 ppc sparc ~ia64"
-
-# hyper-optimizations untested...
-#
-
-src_compile() {
-
- cd ${S}/unix
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --mandir=/usr/share/man \
- || die
- # threading is not recommended as it breaks some packages
- # --enable-threads \
-
- 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 tclConfig.sh to eliminate refs to the build directory
- sed -e "s,^TCL_BUILD_LIB_SPEC='-L${S}/unix,TCL_BUILD_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_SRC_DIR='${S}',TCL_SRC_DIR='/usr/lib/tcl${v1}/include'," \
- -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L${S}/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_BUILD_STUB_LIB_PATH='${S}/unix,TCL_BUILD_STUB_LIB_PATH='/usr/lib," \
- ${D}/usr/lib/tclConfig.sh > ${D}/usr/lib/tclConfig.sh.new
- mv ${D}/usr/lib/tclConfig.sh.new ${D}/usr/lib/tclConfig.sh
-
- # install private headers
- dodir /usr/lib/tcl${v1}/include/unix
- install -c -m0644 ${S}/unix/*.h ${D}/usr/lib/tcl${v1}/include/unix
- dodir /usr/lib/tcl${v1}/include/generic
- install -c -m0644 ${S}/generic/*.h ${D}/usr/lib/tcl${v1}/include/generic
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tcl.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclDecls.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclPlatDecls.h
-
- # install symlink for libraries
- dosym /usr/lib/libtcl${v1}.a /usr/lib/libtcl.a
- dosym /usr/lib/libtclstub${v1}.a /usr/lib/libtclstub.a
-
- ln -sf tclsh${v1} ${D}/usr/bin/tclsh
-
- cd ${S}
- dodoc README changes license.terms
-
-}
diff --git a/dev-lang/tcl/tcl-8.3.3-r3.ebuild b/dev-lang/tcl/tcl-8.3.3-r3.ebuild
deleted file mode 100644
index 418abf9be0f6..000000000000
--- a/dev-lang/tcl/tcl-8.3.3-r3.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.3.3-r3.ebuild,v 1.14 2004/01/03 18:23:31 iggy Exp $
-
-
-S=${WORKDIR}/${PN}${PV}
-SRC_URI="ftp://ftp.scriptics.com/pub/tcl/tcl8_3/${PN}${PV}.tar.gz"
-
-
-HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
-
-DESCRIPTION="Tool Command Language"
-
-DEPEND="virtual/glibc"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="x86 ppc sparc alpha ~ia64"
-
-# hyper-optimizations untested...
-#
-
-src_compile() {
-
- cd ${S}/unix
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --mandir=/usr/share/man \
- || die
- # threading is not recommended as it breaks some packages
- # --enable-threads \
-
- 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 tclConfig.sh to eliminate refs to the build directory
- sed -e "s,^TCL_BUILD_LIB_SPEC='-L${S}/unix,TCL_BUILD_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_SRC_DIR='${S}',TCL_SRC_DIR='/usr/lib/tcl${v1}/include'," \
- -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L${S}/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_BUILD_STUB_LIB_PATH='${S}/unix,TCL_BUILD_STUB_LIB_PATH='/usr/lib," \
- -e "s,^TCL_LIB_FILE='libtcl8.3..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl8.3\$\{TCL_DBGX\}.so\"," \
- ${D}/usr/lib/tclConfig.sh > ${D}/usr/lib/tclConfig.sh.new
- mv ${D}/usr/lib/tclConfig.sh.new ${D}/usr/lib/tclConfig.sh
-
- # install private headers
- dodir /usr/lib/tcl${v1}/include/unix
- install -c -m0644 ${S}/unix/*.h ${D}/usr/lib/tcl${v1}/include/unix
- dodir /usr/lib/tcl${v1}/include/generic
- install -c -m0644 ${S}/generic/*.h ${D}/usr/lib/tcl${v1}/include/generic
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tcl.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclDecls.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclPlatDecls.h
-
- # install symlink for libraries
- dosym /usr/lib/libtcl${v1}.so /usr/lib/libtcl.so
- dosym /usr/lib/libtclstub${v1}.a /usr/lib/libtclstub.a
-
- ln -sf tclsh${v1} ${D}/usr/bin/tclsh
-
- cd ${S}
- dodoc README changes license.terms
-
-}
diff --git a/dev-lang/tcl/tcl-8.4.3.ebuild b/dev-lang/tcl/tcl-8.4.3.ebuild
deleted file mode 100644
index a2a86e8e30f1..000000000000
--- a/dev-lang/tcl/tcl-8.4.3.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.4.3.ebuild,v 1.7 2004/01/04 20:17:27 tuxus Exp $
-
-
-S=${WORKDIR}/${PN}${PV}
-SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
-RESTRICT="nomirror"
-HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
-
-DESCRIPTION="Tool Command Language"
-
-# gentoolkit is needed only for revdep-rebuild
-DEPEND="virtual/glibc
- >=app-portage/gentoolkit-0.1.22"
-RDEPEND="virtual/glibc"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~x86 ~sparc mips ~ia64"
-IUSE=""
-
-# hyper-optimizations untested...
-#
-
-src_compile() {
-
- cd ${S}/unix
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --mandir=/usr/share/man \
- || die
- # threading is not recommended as it breaks some packages
- # --enable-threads \
-
- emake CFLAGS="${CFLAGS}" || die
-
-}
-
-src_install() {
-
- #short version number
- local v1
- v1=${PV%.*}
-
- cd ${S}/unix
- S= make INSTALL_ROOT=${D} MAN_INSTALL_DIR=${D}/usr/share/man install || die
-
- # fix the tclConfig.sh to eliminate refs to the build directory
- sed -e "s,^TCL_BUILD_LIB_SPEC='-L${S}/unix,TCL_BUILD_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_SRC_DIR='${S}',TCL_SRC_DIR='/usr/lib/tcl${v1}/include'," \
- -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L${S}/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_BUILD_STUB_LIB_PATH='${S}/unix,TCL_BUILD_STUB_LIB_PATH='/usr/lib," \
- -e "s,^TCL_LIB_FILE='libtcl8.4..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl8.4\$\{TCL_DBGX\}.so\"," \
- ${D}/usr/lib/tclConfig.sh > ${D}/usr/lib/tclConfig.sh.new
- mv ${D}/usr/lib/tclConfig.sh.new ${D}/usr/lib/tclConfig.sh
-
- # install private headers
- dodir /usr/lib/tcl${v1}/include/unix
- install -c -m0644 ${S}/unix/*.h ${D}/usr/lib/tcl${v1}/include/unix
- dodir /usr/lib/tcl${v1}/include/generic
- install -c -m0644 ${S}/generic/*.h ${D}/usr/lib/tcl${v1}/include/generic
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tcl.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclDecls.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclPlatDecls.h
-
- # install symlink for libraries
- dosym /usr/lib/libtcl${v1}.so /usr/lib/libtcl.so
- dosym /usr/lib/libtclstub${v1}.a /usr/lib/libtclstub.a
-
- ln -sf tclsh${v1} ${D}/usr/bin/tclsh
-
- cd ${S}
- dodoc README changes license.terms
-
-}
-
-pkg_postinst() {
- ewarn
- ewarn "If you're upgrading from tcl-8.3, you must recompile the other"
- ewarn "packages on your system that link with tcl after the upgrade"
- ewarn "completes. To perform this action, please run revdep-rebuild."
- ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
- ewarn "upgrade them before this recompilation, too,"
- ewarn
- sleep 5
-}
diff --git a/dev-lang/tcl/tcl-8.4.4.ebuild b/dev-lang/tcl/tcl-8.4.4.ebuild
deleted file mode 100644
index 7fe471b2ec1c..000000000000
--- a/dev-lang/tcl/tcl-8.4.4.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.4.4.ebuild,v 1.5 2004/01/03 18:23:31 iggy Exp $
-
-
-S=${WORKDIR}/${PN}${PV}
-SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
-RESTRICT="nomirror"
-HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
-
-DESCRIPTION="Tool Command Language"
-
-DEPEND="virtual/glibc
- >=app-portage/gentoolkit-0.1.22"
-RDEPEND="virtual/glibc"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~x86 ~sparc ~mips amd64 ~ia64"
-IUSE=""
-
-# hyper-optimizations untested...
-#
-
-src_compile() {
- cd ${S}/unix
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --mandir=/usr/share/man \
- || die
- # threading is not recommended as it breaks some packages
- # --enable-threads \
-
- emake CFLAGS="${CFLAGS}" || die
-}
-
-src_install() {
- #short version number
- local v1
- v1=${PV%.*}
-
- cd ${S}/unix
- S= make INSTALL_ROOT=${D} MAN_INSTALL_DIR=${D}/usr/share/man install || die
-
- # fix the tclConfig.sh to eliminate refs to the build directory
- sed -e "s,^TCL_BUILD_LIB_SPEC='-L${S}/unix,TCL_BUILD_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_SRC_DIR='${S}',TCL_SRC_DIR='/usr/lib/tcl${v1}/include'," \
- -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L${S}/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_BUILD_STUB_LIB_PATH='${S}/unix,TCL_BUILD_STUB_LIB_PATH='/usr/lib," \
- -e "s,^TCL_LIB_FILE='libtcl8.4..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl8.4\$\{TCL_DBGX\}.so\"," \
- ${D}/usr/lib/tclConfig.sh > ${D}/usr/lib/tclConfig.sh.new
- mv ${D}/usr/lib/tclConfig.sh.new ${D}/usr/lib/tclConfig.sh
-
- # install private headers
- dodir /usr/lib/tcl${v1}/include/unix
- install -c -m0644 ${S}/unix/*.h ${D}/usr/lib/tcl${v1}/include/unix
- dodir /usr/lib/tcl${v1}/include/generic
- install -c -m0644 ${S}/generic/*.h ${D}/usr/lib/tcl${v1}/include/generic
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tcl.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclDecls.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclPlatDecls.h
-
- # install symlink for libraries
- dosym /usr/lib/libtcl${v1}.so /usr/lib/libtcl.so
- dosym /usr/lib/libtclstub${v1}.a /usr/lib/libtclstub.a
-
- ln -sf tclsh${v1} ${D}/usr/bin/tclsh
-
- cd ${S}
- dodoc README changes license.terms
-}
-
-pkg_postinst() {
- ewarn
- ewarn "If you're upgrading from tcl-8.3, you must recompile the other"
- ewarn "packages on your system that link with tcl after the upgrade"
- ewarn "completes. To perform this action, please run revdep-rebuild."
- ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
- ewarn "upgrade them before this recompilation, too,"
- ewarn
- sleep 5
-}
diff --git a/dev-lang/tcl/tcl-8.4.5.ebuild b/dev-lang/tcl/tcl-8.4.5.ebuild
deleted file mode 100644
index 8f68bcd2d3ad..000000000000
--- a/dev-lang/tcl/tcl-8.4.5.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.4.5.ebuild,v 1.7 2004/03/03 02:04:01 iggy Exp $
-
-DESCRIPTION="Tool Command Language"
-HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
-SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa amd64 ppc64 ~ia64 s390"
-RESTRICT="nomirror"
-
-DEPEND="virtual/glibc
- >=app-portage/gentoolkit-0.1.22"
-RDEPEND="virtual/glibc"
-
-S=${WORKDIR}/${PN}${PV}
-
-src_compile() {
- cd ${S}/unix
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --mandir=/usr/share/man \
- || die
- # threading is not recommended as it breaks some packages
- # --enable-threads \
-
- emake CFLAGS="${CFLAGS}" || die
-}
-
-src_install() {
- #short version number
- local v1
- v1=${PV%.*}
-
- cd ${S}/unix
- S= make INSTALL_ROOT=${D} MAN_INSTALL_DIR=${D}/usr/share/man install || die
-
- # fix the tclConfig.sh to eliminate refs to the build directory
- sed -e "s,^TCL_BUILD_LIB_SPEC='-L${S}/unix,TCL_BUILD_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_SRC_DIR='${S}',TCL_SRC_DIR='/usr/lib/tcl${v1}/include'," \
- -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L${S}/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib," \
- -e "s,^TCL_BUILD_STUB_LIB_PATH='${S}/unix,TCL_BUILD_STUB_LIB_PATH='/usr/lib," \
- -e "s,^TCL_LIB_FILE='libtcl8.4..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl8.4\$\{TCL_DBGX\}.so\"," \
- ${D}/usr/lib/tclConfig.sh > ${D}/usr/lib/tclConfig.sh.new
- mv ${D}/usr/lib/tclConfig.sh.new ${D}/usr/lib/tclConfig.sh
-
- # install private headers
- dodir /usr/lib/tcl${v1}/include/unix
- install -c -m0644 ${S}/unix/*.h ${D}/usr/lib/tcl${v1}/include/unix
- dodir /usr/lib/tcl${v1}/include/generic
- install -c -m0644 ${S}/generic/*.h ${D}/usr/lib/tcl${v1}/include/generic
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tcl.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclDecls.h
- rm -f ${D}/usr/lib/tcl${v1}/include/generic/tclPlatDecls.h
-
- # install symlink for libraries
- dosym /usr/lib/libtcl${v1}.so /usr/lib/libtcl.so
- dosym /usr/lib/libtclstub${v1}.a /usr/lib/libtclstub.a
-
- ln -sf tclsh${v1} ${D}/usr/bin/tclsh
-
- cd ${S}
- dodoc README changes license.terms
-}
-
-pkg_postinst() {
- ewarn
- ewarn "If you're upgrading from tcl-8.3, you must recompile the other"
- ewarn "packages on your system that link with tcl after the upgrade"
- ewarn "completes. To perform this action, please run revdep-rebuild."
- ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
- ewarn "upgrade them before this recompilation, too,"
- ewarn
- sleep 5
-}