diff options
author | James Meyer <james.meyer@operamail.com> | 2010-09-08 07:33:44 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-09-08 07:33:44 (GMT) |
commit | 525753e4a1a139e088d8ac120b19fbab6c0aaaa6 (patch) | |
tree | 35cef28abb613da4f58e83f6abbe4bd4cfa244bf /abs/core-testing/libtool | |
parent | 592e3cad43ef12c53f523145d0fd981b54f2a049 (diff) | |
parent | b172f79fadb565ecfbcec9508f9377d8618a4f4c (diff) | |
download | linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.zip linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.gz linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/libtool')
-rw-r--r-- | abs/core-testing/libtool/PKGBUILD | 29 | ||||
-rw-r--r-- | abs/core-testing/libtool/libtool.install | 6 |
2 files changed, 21 insertions, 14 deletions
diff --git a/abs/core-testing/libtool/PKGBUILD b/abs/core-testing/libtool/PKGBUILD index f861926..c6f5f7a 100644 --- a/abs/core-testing/libtool/PKGBUILD +++ b/abs/core-testing/libtool/PKGBUILD @@ -1,25 +1,30 @@ -# $Id: PKGBUILD 12053 2008-09-08 14:37:58Z andyrtr $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 82294 2010-06-10 03:52:16Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +# NOTE: requires rebuilt with each new gcc version + pkgname=libtool -pkgver=2.2.6a +pkgver=2.2.10 pkgrel=1 pkgdesc="A generic library support script" arch=('i686' 'x86_64') -license=('GPL') url="http://www.gnu.org/software/libtool" -install=libtool.install +license=('GPL') +depends=('sh' 'tar' 'texinfo') groups=('base-devel') -depends=('sh' 'tar') -source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz) -md5sums=('8ca1ea241cd27ff9832e045fe9afe4fd') options=('!libtool') +install=libtool.install +source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz) +md5sums=('b745d220e88163fcd9eea0a90ccf21b0') build() { - #cd ${startdir}/src/${pkgname}-${pkgver} - cd ${startdir}/src/${pkgname}-2.2.6 + cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr make || return 1 - make DESTDIR=${startdir}/pkg install +} - rm -f ${pkgdir}/usr/share/info/dir +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install } diff --git a/abs/core-testing/libtool/libtool.install b/abs/core-testing/libtool/libtool.install index 1794742..424c8cb 100644 --- a/abs/core-testing/libtool/libtool.install +++ b/abs/core-testing/libtool/libtool.install @@ -2,8 +2,9 @@ infodir=/usr/share/info filelist=(libtool.info libtool.info-1 libtool.info-2) post_install() { + [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null + install-info $infodir/$file.gz $infodir/dir 2> /dev/null done } @@ -12,8 +13,9 @@ post_upgrade() { } pre_remove() { + [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null done } |