blob: 0b5fdc018696810c6269624026384e5567f39a77 (
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
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtool
pkgver=2.4.3
pkgrel=0
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"
options="libtool"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
}
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
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="ec4dabd3bc580dc188197d4d5eb95fe3 libtool-2.4.3.tar.gz"
sha256sums="36b4881c1843d7585de9c66c4c3d9a067ed3a3f792bc670beba21f5a4960acdf libtool-2.4.3.tar.gz"
sha512sums="d6b801f7e91c50a98a5db42a7464bfa672f4028e401327f9feb6e08a1f7a78accd0f4cf0045af28457c27cdbf18680b6c676c9d923fc4708596f50ee34b4444a libtool-2.4.3.tar.gz"
|