aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtool/APKBUILD
blob: 9bbdb3813b323fdb6d8c9424d45691f7f7f9a8a6 (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
28
29
30
31
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtool
pkgver=2.4
pkgrel=2
pkgdesc="A generic library support script"
arch="all"
license='GPL'
url="http://www.gnu.org/software/libtool"
source="ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz"
depends="bash libltdl"
subpackages="libltdl $pkgname-doc"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}

libltdl() {
	pkgdesc="Runtime libraries for GNU Libtool Dynamic Module Loade"
	depends=
	mkdir -p "$subpkgdir/usr/lib"
	mv "$pkgdir/usr/lib/libltdl.so"* "$subpkgdir/usr/lib/"
}

md5sums="b32b04148ecdd7344abc6fe8bd1bb021  libtool-2.4.tar.gz"