diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 23:55:42 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-17 13:38:21 +0000 |
commit | 8f5af5e6c6ceb329d4a2921c3a8ed401edfc4185 (patch) | |
tree | 31d23fbb1fbf66d77a50f5d2f9c472e7435d1000 /main/libtool/APKBUILD | |
parent | 98a17c333286fe55dd7ee97082ccde3689ef44dc (diff) | |
download | aports-8f5af5e6c6ceb329d4a2921c3a8ed401edfc4185.tar.bz2 aports-8f5af5e6c6ceb329d4a2921c3a8ed401edfc4185.tar.xz |
main/libtool: fix license, add check
Diffstat (limited to 'main/libtool/APKBUILD')
-rw-r--r-- | main/libtool/APKBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/main/libtool/APKBUILD b/main/libtool/APKBUILD index 83351dcb3a..abf7522282 100644 --- a/main/libtool/APKBUILD +++ b/main/libtool/APKBUILD @@ -1,16 +1,17 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libtool pkgver=2.4.6 -pkgrel=4 +pkgrel=5 pkgdesc="A generic library support script" arch="all" -license='GPL' +license="LGPL-2.0+" url="https://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="gawk autoconf automake gzip" subpackages="libltdl $pkgname-doc" options="libtool" @@ -22,11 +23,17 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --disable-static \ - || return 1 + --disable-static make } +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" +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install @@ -39,9 +46,5 @@ libltdl() { mv "$pkgdir/usr/lib/libltdl.so"* "$subpkgdir/usr/lib/" } -md5sums="addf44b646ddb4e3919805aa88fa7c5e libtool-2.4.6.tar.gz -3657a65e226879586c29360eac6ae41b libtool-fix-cross-compile.patch" -sha256sums="e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3 libtool-2.4.6.tar.gz -c98362e9b1efd90618813a6901144452dc03f51e6300686bb07e068ac851c245 libtool-fix-cross-compile.patch" sha512sums="3233d81cb2739a54b840a0a82064eebbfaa4fb442fb993a35d6bd41d8395c51f038c90ae048b9252f172d0a5bbfb4b36e2b13d4477001f9ff7d4124237819a18 libtool-2.4.6.tar.gz aa14cadd70a633520249fa3a6a4c45b309a980380e62dd5982b3ae842c478a77401ad809297fceebd167c167b0a19f380e6a6c295bc75d1029d56d3bf262b209 libtool-fix-cross-compile.patch" |