aboutsummaryrefslogtreecommitdiffstats
path: root/core/libtool/APKBUILD
blob: 3d2ab55f01da6cc2a371ff53d565c51c5e7b0782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"