summaryrefslogtreecommitdiffstats
path: root/abs/core/libtool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libtool/PKGBUILD')
-rw-r--r--abs/core/libtool/PKGBUILD44
1 files changed, 31 insertions, 13 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}
}