diff options
Diffstat (limited to 'abs/core-testing/tcl')
-rw-r--r-- | abs/core-testing/tcl/ChangeLog | 10 | ||||
-rw-r--r-- | abs/core-testing/tcl/PKGBUILD | 41 |
2 files changed, 51 insertions, 0 deletions
diff --git a/abs/core-testing/tcl/ChangeLog b/abs/core-testing/tcl/ChangeLog new file mode 100644 index 0000000..313bd98 --- /dev/null +++ b/abs/core-testing/tcl/ChangeLog @@ -0,0 +1,10 @@ +2008-08-16 Allan McRae <allan@archlinux.org> + + * 8.5.4-1 : + new upstream release + FHS man directory + +2008-07-01 Allan McRae <allan@archlinux.org> + + * 8.5.3-1 : + new upstream release. diff --git a/abs/core-testing/tcl/PKGBUILD b/abs/core-testing/tcl/PKGBUILD new file mode 100644 index 0000000..ec911bb --- /dev/null +++ b/abs/core-testing/tcl/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 8742 2008-08-16 05:01:49Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Committer: Judd Vinet <jvinet@zeroflux.org> + +pkgname=tcl +pkgver=8.5.4 +pkgrel=1 +pkgdesc="The Tcl scripting language" +arch=('i686' 'x86_64') +license=('custom') +depends=(glibc) +source=(http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz) +url="http://tcl.sourceforge.net/" +md5sums=('15032a6a43f3bfbe9223b95186849472') + +build() { + cd ${srcdir}/tcl${pkgver}/unix + + if [ "$CARCH" = "x86_64" ]; then + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit + else + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-64bit + fi + + make || return 1 + make INSTALL_ROOT=${pkgdir} install install-private-headers + ln -sf tclsh8.5 ${pkgdir}/usr/bin/tclsh + # install license + install -Dm644 ../license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + # remove buildroot traces / fixes #3602 + sed -i \ + -e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L/usr/lib," \ + -e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='/usr/include'," \ + -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib," \ + -e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='/usr/lib," \ + -e "s,^TCL_LIB_FILE='libtcl8.5..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl8.5\$\{TCL_DBGX\}.so\"," \ + -e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:/usr/lib'," \ + -e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:/usr/lib'," \ + ${pkgdir}/usr/lib/tclConfig.sh +} |