Commit 1e31c49e authored by Daniele's avatar Daniele
Browse files

Rebuilding libtool to fix absolute paths pointing to /bin.

parent 361b42e9
......@@ -7,7 +7,7 @@
pkgname=('libtool' 'libltdl')
pkgver=2.4.2
pkgrel=3
pkgrel=4
pkgdesc="A generic library support script"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libtool"
......@@ -18,34 +18,35 @@ md5sums=('2ec8997e0c07249eb4cbd072417d70fe'
'1e6ba57420c82c663c85e745d11c7eed')
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
cd "${srcdir}/${pkgbase}-${pkgver}"
./configure --prefix=/usr
make
}
check() {
cd ${srcdir}/${pkgbase}-${pkgver}
cd "${srcdir}/${pkgbase}-${pkgver}"
make check
}
package_libtool() {
depends=('sh' "libltdl=$pkgver" 'tar' 'gcc=4.7.0')
depends=('sh' "libltdl=${pkgver}" 'tar' 'gcc=4.7.0')
groups=('base-devel')
install=libtool.install
cd ${srcdir}/${pkgbase}-${pkgver}
cd "${srcdir}/${pkgbase}-${pkgver}"
make DESTDIR=${pkgdir} install-binSCRIPTS install-man install-info \
install-data-local
rm -rf ${pkgdir}/usr/share/libtool/libltdl/
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}
cd "${srcdir}/${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install-libLTLIBRARIES install-includeHEADERS \
install-ltdlincludeHEADERS install-data-local
rm -rf "${pkgdir}/usr/share"/{aclocal,libtool/config}
}
# vim:set ts=2 sw=2 et:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment