diff options
Diffstat (limited to 'abs/core/libtool')
-rw-r--r-- | abs/core/libtool/PKGBUILD | 34 | ||||
l--------- | abs/core/libtool/libtool-2.2.10-3-i686.pkg.tar.gz | 1 | ||||
-rw-r--r-- | abs/core/libtool/libtool.install | 6 |
3 files changed, 25 insertions, 16 deletions
diff --git a/abs/core/libtool/PKGBUILD b/abs/core/libtool/PKGBUILD index f861926..eab01ea 100644 --- a/abs/core/libtool/PKGBUILD +++ b/abs/core/libtool/PKGBUILD @@ -1,25 +1,31 @@ -# $Id: PKGBUILD 12053 2008-09-08 14:37:58Z andyrtr $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 87248 2010-08-11 14:10:45Z 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 -pkgrel=1 +pkgver=2.2.10 +pkgrel=3 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 + make + make check +} - rm -f ${pkgdir}/usr/share/info/dir +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install } diff --git a/abs/core/libtool/libtool-2.2.10-3-i686.pkg.tar.gz b/abs/core/libtool/libtool-2.2.10-3-i686.pkg.tar.gz new file mode 120000 index 0000000..76cb8a4 --- /dev/null +++ b/abs/core/libtool/libtool-2.2.10-3-i686.pkg.tar.gz @@ -0,0 +1 @@ +/data/pkg_repo/packages/libtool-2.2.10-3-i686.pkg.tar.gz
\ No newline at end of file diff --git a/abs/core/libtool/libtool.install b/abs/core/libtool/libtool.install index 1794742..424c8cb 100644 --- a/abs/core/libtool/libtool.install +++ b/abs/core/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 } |