PKGBUILDs/core/libtool/PKGBUILD

55 lines
1.4 KiB
Bash
Raw Normal View History

2012-05-13 23:41:15 +00:00
# $Id: PKGBUILD 151926 2012-03-04 10:58:08Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# NOTE: requires rebuilt with each new gcc version
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2012-05-14 18:53:27 +00:00
# - noautobuild, !distcc
2012-05-13 23:41:15 +00:00
noautobuild=1
pkgname=('libtool' 'libltdl')
pkgver=2.4.2
2013-04-04 15:30:11 +00:00
pkgrel=8
2012-05-13 23:41:15 +00:00
pkgdesc="A generic library support script"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libtool"
license=('GPL')
2012-05-14 18:53:27 +00:00
options=('!libtool' '!distcc')
2012-05-13 23:41:15 +00:00
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig})
md5sums=('2ec8997e0c07249eb4cbd072417d70fe'
'1e6ba57420c82c663c85e745d11c7eed')
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
./configure --prefix=/usr
make
}
check() {
cd ${srcdir}/${pkgbase}-${pkgver}
make check
}
package_libtool() {
2013-04-04 15:30:11 +00:00
depends=('sh' "libltdl=$pkgver" 'tar' 'gcc=4.8.0')
2012-05-13 23:41:15 +00:00
groups=('base-devel')
install=libtool.install
cd ${srcdir}/${pkgbase}-${pkgver}
make DESTDIR=${pkgdir} install-binSCRIPTS install-man install-info \
install-data-local
rm -rf ${pkgdir}/usr/share/libtool/libltdl/
}
package_libltdl() {
pkgdesc="A system independent dlopen wrapper for GNU libtool"
cd ${srcdir}/${pkgbase}-${pkgver}
make DESTDIR=${pkgdir} install-libLTLIBRARIES install-includeHEADERS \
install-ltdlincludeHEADERS install-data-local
rm -rf ${pkgdir}/usr/share/{aclocal,libtool/config}
}