blob: 717d8140e2de0f859f12d9d37449ac6475ef583e (
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.5
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="7d30ed9fa6bb11270ebb31639a37bd54 libtool-2.4.5.tar.gz"
sha256sums="509cb49c7de14ce7eaf88993cf09fd4071882699dfd874c2e95b31ab107d6987 libtool-2.4.5.tar.gz"
sha512sums="f58070b278ad99377bea878fe61ad1418eb4fc2a039d23b8209b35476521ee7814b42f7d44a2efab95b07bf350307a8e1622d42e4760ec72e1e0c0ba7eaa06e9 libtool-2.4.5.tar.gz"
|