PKGBUILDs/core/libtool/PKGBUILD

48 lines
1.2 KiB
Bash
Raw Normal View History

2014-12-14 15:46:10 +00:00
# $Id$
2012-05-13 23:41:15 +00:00
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# NOTE: requires rebuilt with each new gcc version
2014-12-14 15:46:10 +00:00
pkgname=libtool
pkgver=2.4.4
pkgrel=2
2012-05-13 23:41:15 +00:00
pkgdesc="A generic library support script"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libtool"
license=('GPL')
2014-12-14 15:46:10 +00:00
groups=('base-devel')
depends=('sh' 'tar' 'glibc')
makedepends=('gcc')
2014-12-14 17:22:09 +00:00
provides=("libltdl=$pkgver" "libtool-multilib=$pkgver")
conflicts=('libltdl' 'libtool-multilib')
replaces=('libltdl' 'libtool-multilib')
2014-12-14 15:46:10 +00:00
install=libtool.install
2014-12-14 17:22:09 +00:00
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}
armv7h-nopic.patch)
2014-12-14 15:46:10 +00:00
md5sums=('51bf400de3354687d68dfa2392506b7e'
2014-12-14 17:22:09 +00:00
'SKIP'
'8a1fdc77814fa5db3fc4d6a888d0cd89')
2014-11-07 03:56:55 +00:00
validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606')
2012-05-13 23:41:15 +00:00
2014-12-14 17:22:09 +00:00
prepare() {
cd ${srcdir}/${pkgbase}-${pkgver}
patch -p1 -i ../armv7h-nopic.patch
}
2012-05-13 23:41:15 +00:00
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
2014-12-14 17:22:09 +00:00
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib32"
2012-05-13 23:41:15 +00:00
make
}
check() {
cd ${srcdir}/${pkgbase}-${pkgver}
make check
}
2014-12-14 15:46:10 +00:00
package() {
2012-05-13 23:41:15 +00:00
cd ${srcdir}/${pkgbase}-${pkgver}
2014-12-14 15:46:10 +00:00
make DESTDIR=${pkgdir} install
2012-05-13 23:41:15 +00:00
}