diff options
Diffstat (limited to 'main/libtool/APKBUILD')
-rw-r--r-- | main/libtool/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/libtool/APKBUILD b/main/libtool/APKBUILD new file mode 100644 index 0000000000..3d2ab55f01 --- /dev/null +++ b/main/libtool/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: judd <jvinet@zeroflux.org> +pkgname=libtool +pkgver=2.2.6a +_myver=2.2.6 +pkgrel=4 +pkgdesc="A generic library support script" +license='GPL' +url="http://www.gnu.org/software/libtool" +source="ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz" +depends="uclibc libltdl bash" +subpackages="libltdl $pkgname-doc" + +build() { + cd "$srcdir"/$pkgname-$_myver + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir" install +} + +libltdl() { + depends="uclibc" + mkdir -p "$subpkgdir/usr/lib" + mv "$pkgdir/usr/lib/libltdl.so"* "$subpkgdir/usr/lib/" +} + +md5sums="8ca1ea241cd27ff9832e045fe9afe4fd libtool-2.2.6a.tar.gz" |