summaryrefslogtreecommitdiffstats
path: root/main/tcl
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-23 14:49:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-23 14:49:17 +0000
commit582744f854e08804c7db1ac4176030c0e51285a6 (patch)
treeab5b7023271798b1eae4fd0e2718fdfb375a72ec /main/tcl
parente80ed2f909ae182c670fcfea37609c99610b0578 (diff)
downloadaports-582744f854e08804c7db1ac4176030c0e51285a6.tar.bz2
aports-582744f854e08804c7db1ac4176030c0e51285a6.tar.xz
main/tcl: upgrade to 8.5.8
Diffstat (limited to 'main/tcl')
-rw-r--r--main/tcl/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/main/tcl/APKBUILD b/main/tcl/APKBUILD
index 32a9eff63..d815acdd5 100644
--- a/main/tcl/APKBUILD
+++ b/main/tcl/APKBUILD
@@ -1,24 +1,28 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=tcl
-pkgver=8.5.7
+pkgver=8.5.8
pkgrel=0
pkgdesc="The Tcl scripting language"
url="http://tcl.sourceforge.net/"
license="custom"
-depends="uclibc"
+depends=
makedepends=""
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname$pkgver-src.tar.gz"
subpackages="$pkgname-doc $pkgname-dev"
build ()
{
- cd ${srcdir}/tcl${pkgver}/unix
+ cd "$srcdir"/tcl${pkgver}/unix
./configure --prefix=/usr \
--mandir=/usr/share/man \
--disable-64bit
make || return 1
- make INSTALL_ROOT=${pkgdir} install install-private-headers
- ln -sf tclsh8.5 ${pkgdir}/usr/bin/tclsh
+}
+
+package() {
+ cd "$srcdir"/tcl${pkgver}/unix
+ make INSTALL_ROOT="${pkgdir}" install install-private-headers
+ ln -sf tclsh8.5 "${pkgdir}"/usr/bin/tclsh
install -Dm644 ../license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
sed -i \
-e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L/usr/lib," \
@@ -28,6 +32,6 @@ build ()
-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
+ "${pkgdir}"/usr/lib/tclConfig.sh
}
-md5sums="f70ad8f78b5e4a9f792fe101f22b125f tcl8.5.7-src.tar.gz"
+md5sums="7f123e53b3daaaba2478d3af5a0752e3 tcl8.5.8-src.tar.gz"