diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 16:07:25 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 16:07:25 (GMT) |
commit | 12271e9c8c977a0dc71f946ffa41eb8c20b9c379 (patch) | |
tree | c26b0d6f2aa135b21af44488caa14fe5336f6f0a /abs/core | |
parent | 4313ababe43cc577bee14859917a048b01646595 (diff) | |
download | linhes_pkgbuild-12271e9c8c977a0dc71f946ffa41eb8c20b9c379.zip linhes_pkgbuild-12271e9c8c977a0dc71f946ffa41eb8c20b9c379.tar.gz linhes_pkgbuild-12271e9c8c977a0dc71f946ffa41eb8c20b9c379.tar.bz2 |
libtool 2.4.2
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/libtool/PKGBUILD | 44 | ||||
-rw-r--r-- | abs/core/libtool/libtool.install | 4 |
2 files changed, 32 insertions, 16 deletions
diff --git a/abs/core/libtool/PKGBUILD b/abs/core/libtool/PKGBUILD index f8b2119..96b3479 100644 --- a/abs/core/libtool/PKGBUILD +++ b/abs/core/libtool/PKGBUILD @@ -1,31 +1,49 @@ -# $Id: PKGBUILD 91152 2010-09-23 13:07:38Z allan $ +# $Id: PKGBUILD 162070 2012-06-19 12:28:01Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> # NOTE: requires rebuilt with each new gcc version -pkgname=libtool -pkgver=2.4 -pkgrel=1 +pkgname=('libtool' 'libltdl') +pkgver=2.4.2 +pkgrel=6 pkgdesc="A generic library support script" arch=('i686' 'x86_64') url="http://www.gnu.org/software/libtool" license=('GPL') -depends=('sh' 'tar' 'texinfo') -groups=('base-devel') options=('!libtool') -install=libtool.install -source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz) -md5sums=('4e6144439d95d7332dc50ace6dd24c55') +source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}) +md5sums=('2ec8997e0c07249eb4cbd072417d70fe' + '1e6ba57420c82c663c85e745d11c7eed') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${srcdir}/${pkgbase}-${pkgver} ./configure --prefix=/usr make +} + +check() { + cd ${srcdir}/${pkgbase}-${pkgver} make check } -package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install +package_libtool() { + depends=('sh' "libltdl=$pkgver" 'tar' 'gcc=4.7.1') + 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} } diff --git a/abs/core/libtool/libtool.install b/abs/core/libtool/libtool.install index 424c8cb..73cf564 100644 --- a/abs/core/libtool/libtool.install +++ b/abs/core/libtool/libtool.install @@ -1,4 +1,4 @@ -infodir=/usr/share/info +infodir=usr/share/info filelist=(libtool.info libtool.info-1 libtool.info-2) post_install() { @@ -18,5 +18,3 @@ pre_remove() { install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null done } - -# vim:set ts=2 sw=2 et: |