blob: 23084d371679fa7f31ea106c482cf7f93dfae880 (
plain) (
blame)
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
43
44
45
46
47
48
49
50
|
# Maintainer:
pkgname=libtool
pkgver=2.4.6
pkgrel=6
pkgdesc="A generic library support script"
arch="all"
license="GPL-2.0+"
url="http://www.gnu.org/software/libtool"
source="ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz
libtool-fix-cross-compile.patch
"
depends="bash libltdl"
makedepends="m4 help2man"
checkdepends="autoconf automake gzip"
subpackages="libltdl $pkgname-doc"
options="libtool"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
lt_cv_shlibpath_overrides_runpath=yes
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
check() {
cd "$builddir"
# Test 70 and 117 are known to fail
# Test 170 repeats the entire test suite with shorter max_cmd_len
make check TESTSUITEFLAGS="1-69 71-116 118-169"
}
libltdl() {
pkgdesc="Runtime libraries for GNU Libtool Dynamic Module Loader"
license="LGPL-2.1+"
depends=
mkdir -p "$subpkgdir/usr/lib"
mv "$pkgdir/usr/lib/libltdl.so"* "$subpkgdir/usr/lib/"
}
sha512sums="3233d81cb2739a54b840a0a82064eebbfaa4fb442fb993a35d6bd41d8395c51f038c90ae048b9252f172d0a5bbfb4b36e2b13d4477001f9ff7d4124237819a18 libtool-2.4.6.tar.gz
aa14cadd70a633520249fa3a6a4c45b309a980380e62dd5982b3ae842c478a77401ad809297fceebd167c167b0a19f380e6a6c295bc75d1029d56d3bf262b209 libtool-fix-cross-compile.patch"
|