main/libtool: Add libltdl-static

This commit is contained in:
Tom Parker-Shemilt 2019-11-11 22:01:43 +00:00 committed by Leo
parent e7e0e13af1
commit 5e759cd19e

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtool
pkgver=2.4.6
pkgrel=6
pkgrel=7
pkgdesc="A generic library support script"
arch="all"
license="LGPL-2.0+"
@ -12,7 +12,7 @@ source="https://ftp.gnu.org/gnu/libtool/${pkgname}-${pkgver}.tar.gz
depends="bash libltdl"
makedepends="m4 help2man"
checkdepends="gawk autoconf automake gzip"
subpackages="libltdl $pkgname-doc"
subpackages="libltdl-static libltdl $pkgname-doc"
# 1 test presently fails on Alpine (need to investigate):
# 69: shlibpath_overrides_runpath FAILED (shlibpath.at:68)
@ -26,7 +26,6 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
@ -40,7 +39,6 @@ check() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/*.a
}
libltdl() {