diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-12-10 14:04:26 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-12-11 09:41:56 +0000 |
commit | 6b02ffb1c81af62a0a4dd6e35c95e7ea0b1d8cb3 (patch) | |
tree | 7b32752943db649342536a19bbf702562fd278e0 /main/tcl | |
parent | 5ae35284695035b226c968df534ff7768071c5a2 (diff) | |
download | aports-6b02ffb1c81af62a0a4dd6e35c95e7ea0b1d8cb3.tar.bz2 aports-6b02ffb1c81af62a0a4dd6e35c95e7ea0b1d8cb3.tar.xz |
main/tcl: use system sqlite
Diffstat (limited to 'main/tcl')
-rw-r--r-- | main/tcl/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/main/tcl/APKBUILD b/main/tcl/APKBUILD index 4da8819e22..31e63299fa 100644 --- a/main/tcl/APKBUILD +++ b/main/tcl/APKBUILD @@ -1,18 +1,19 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=tcl pkgver=8.6.4 -pkgrel=2 +pkgrel=3 pkgdesc="The Tcl scripting language" url="http://tcl.sourceforge.net/" arch="all" license="TCL" -depends= +depends="" depends_dev="tcl" -makedepends="zlib-dev" +makedepends="zlib-dev sqlite-dev" +subpackages="$pkgname-doc $pkgname-dev" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname$pkgver-src.tar.gz tcl-stat64.patch " -subpackages="$pkgname-doc $pkgname-dev" _major=${pkgver%.*} _builddir="$srcdir"/tcl${pkgver}/unix @@ -31,15 +32,19 @@ build() { case "$CARCH" in x86_64) _64bit="--enable-64bit";; esac + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ + --sysconfdir=/etc \ --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-system-sqlite \ $_64bit \ || return 1 - make || return 1 + make || return 1 } package() { @@ -49,6 +54,7 @@ package() { ln -sf tclsh${_major} "${pkgdir}"/usr/bin/tclsh install -Dm644 ../license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + # remove buildroot traces find "$pkgdir" -name '*Config.sh' | xargs sed -i -e "s#${srcdir}#/usr/src#" } |