core/libtool to 2.4.2-12

This commit is contained in:
Kevin Mihelich 2013-10-23 13:46:04 +00:00
parent 433005000b
commit 101d7ab8d4

View file

@ -11,13 +11,14 @@ noautobuild=1
pkgname=('libtool' 'libltdl')
pkgver=2.4.2
pkgrel=11
_gccver=4.8.2
pkgrel=12
pkgdesc="A generic library support script"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libtool"
makedepends=('gcc=4.8.2')
makedepends=("gcc=${_gccver}")
license=('GPL')
options=('!libtool' '!distcc')
options=('!distcc')
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}
armv7h-nopic.patch)
md5sums=('2ec8997e0c07249eb4cbd072417d70fe'
@ -37,7 +38,7 @@ check() {
}
package_libtool() {
depends=('sh' "libltdl=$pkgver" 'tar' 'gcc=4.8.2')
depends=('sh' "libltdl=$pkgver" 'tar' "gcc=${_gccver}")
groups=('base-devel')
install=libtool.install
@ -45,7 +46,7 @@ package_libtool() {
make DESTDIR=${pkgdir} install-binSCRIPTS install-man install-info \
install-data-local
rm -rf ${pkgdir}/usr/share/libtool/libltdl/
rm -r ${pkgdir}/usr/share/libtool/libltdl/
}
package_libltdl() {
@ -54,6 +55,6 @@ package_libltdl() {
cd ${srcdir}/${pkgbase}-${pkgver}
make DESTDIR=${pkgdir} install-libLTLIBRARIES install-includeHEADERS \
install-ltdlincludeHEADERS install-data-local
rm -rf ${pkgdir}/usr/share/{aclocal,libtool/config}
rm -r ${pkgdir}/usr/share/{aclocal,libtool/config}
}