summaryrefslogtreecommitdiffstats
path: root/core/libtool/APKBUILD
blob: 1f5a5d8f525cfd5cddd3974016f3fe8328326759 (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
27
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=libtool
pkgver=2.2.6a
_myver=2.2.6
pkgrel=1
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"
subpackages="libltdl"
splitfuncs="libltdl"

build() {
	cd $srcdir/$pkgname-$_myver
	./configure --prefix=/usr
	make || return 1
	make DESTDIR=${startdir}/pkg install

	rm -f ${pkgdir}/usr/share/info/dir
}

libltdl() {
	mkdir -p "$subpkgdir/usr/lib"
	mv "$pkgdir/usr/lib/libltdl.so"* "$subpkgdir/usr/lib/"
}

md5sums="8ca1ea241cd27ff9832e045fe9afe4fd  libtool-2.2.6a.tar.gz"