diff options
author | root <root@rshg054.dnsready.net> | 2012-03-04 00:01:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-04 00:01:47 +0000 |
commit | f0fa42126da9e3eec6b98388b35c67929fa20dae (patch) | |
tree | 0a4ad5b073e8500ff0e8920ba509942598576463 /testing/libtool/PKGBUILD | |
parent | d8fb549de0ef3299436c448f7b45fd8ebee8e733 (diff) |
Sun Mar 4 00:01:47 UTC 2012
Diffstat (limited to 'testing/libtool/PKGBUILD')
-rw-r--r-- | testing/libtool/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/libtool/PKGBUILD b/testing/libtool/PKGBUILD new file mode 100644 index 000000000..fc7ece352 --- /dev/null +++ b/testing/libtool/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 151795 2012-03-03 02:45:49Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +# NOTE: requires rebuilt with each new gcc version + +pkgname=('libtool' 'libltdl') +pkgver=2.4.2 +pkgrel=4 +pkgdesc="A generic library support script" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/libtool" +license=('GPL') +options=('!libtool') +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() { + depends=('sh' "libltdl=$pkgver" 'tar' 'gcc=4.6.3') + 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} +} |