core/libtool to 2.4.6+40+g6ca5e224-1

This commit is contained in:
Kevin Mihelich 2017-09-09 16:46:46 +00:00
parent b4fc942456
commit b8ab0dd4be

View file

@ -1,5 +1,6 @@
# $Id$
# Maintainer: Allan McRae <allan@archlinux.org>
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# NOTE: requires rebuilt with each new gcc version
@ -12,44 +13,50 @@
noautobuild=1
pkgname=libtool
pkgver=2.4.6
pkgrel=8
_gccver=7.1.1
pkgdesc="A generic library support script"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libtool"
license=('GPL')
groups=('base-devel')
depends=('sh' 'tar' 'glibc')
makedepends=("gcc=$_gccver")
pkgver=2.4.6+40+g6ca5e224
pkgrel=1
_gccver=7.2.0
pkgdesc='A generic library support script'
arch=(i686 x86_64)
url='http://www.gnu.org/software/libtool"'
license=(GPL)
groups=(base-devel)
depends=(sh tar glibc)
makedepends=("gcc=$_gccver" git help2man)
provides=("libltdl=$pkgver")
conflicts=('libltdl')
replaces=('libltdl')
options=('!distcc')
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}
_commit=6ca5e224bc7bcc114a9ba2cf5dcf0fbf0ec40c9f
source=(git+https://git.savannah.gnu.org/git/libtool.git#commit=$_commit
armv7h-nopic.patch)
md5sums=('1bfb9b923f2c1339b4d2ce1807064aa5'
'SKIP'
md5sums=('SKIP'
'8a1fdc77814fa5db3fc4d6a888d0cd89')
validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g;s/^v//'
}
prepare() {
cd ${srcdir}/${pkgbase}-${pkgver}
cd $pkgname
patch -p1 -i ../armv7h-nopic.patch
./bootstrap
}
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib"
cd $pkgname
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32"
make
}
check() {
cd ${srcdir}/${pkgbase}-${pkgver}
cd $pkgname
make check
}
package() {
cd ${srcdir}/${pkgbase}-${pkgver}
make DESTDIR=${pkgdir} install
cd $pkgname
make DESTDIR="$pkgdir" install
}