mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/libtool to 2.4.6+40+g6ca5e224-1
This commit is contained in:
parent
b4fc942456
commit
b8ab0dd4be
1 changed files with 28 additions and 21 deletions
|
@ -1,5 +1,6 @@
|
||||||
# $Id$
|
# $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>
|
# Contributor: judd <jvinet@zeroflux.org>
|
||||||
|
|
||||||
# NOTE: requires rebuilt with each new gcc version
|
# NOTE: requires rebuilt with each new gcc version
|
||||||
|
@ -12,44 +13,50 @@
|
||||||
noautobuild=1
|
noautobuild=1
|
||||||
|
|
||||||
pkgname=libtool
|
pkgname=libtool
|
||||||
pkgver=2.4.6
|
pkgver=2.4.6+40+g6ca5e224
|
||||||
pkgrel=8
|
pkgrel=1
|
||||||
_gccver=7.1.1
|
_gccver=7.2.0
|
||||||
pkgdesc="A generic library support script"
|
pkgdesc='A generic library support script'
|
||||||
arch=('i686' 'x86_64')
|
arch=(i686 x86_64)
|
||||||
url="http://www.gnu.org/software/libtool"
|
url='http://www.gnu.org/software/libtool"'
|
||||||
license=('GPL')
|
license=(GPL)
|
||||||
groups=('base-devel')
|
groups=(base-devel)
|
||||||
depends=('sh' 'tar' 'glibc')
|
depends=(sh tar glibc)
|
||||||
makedepends=("gcc=$_gccver")
|
makedepends=("gcc=$_gccver" git help2man)
|
||||||
provides=("libltdl=$pkgver")
|
provides=("libltdl=$pkgver")
|
||||||
conflicts=('libltdl')
|
conflicts=('libltdl')
|
||||||
replaces=('libltdl')
|
replaces=('libltdl')
|
||||||
options=('!distcc')
|
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)
|
armv7h-nopic.patch)
|
||||||
md5sums=('1bfb9b923f2c1339b4d2ce1807064aa5'
|
md5sums=('SKIP'
|
||||||
'SKIP'
|
|
||||||
'8a1fdc77814fa5db3fc4d6a888d0cd89')
|
'8a1fdc77814fa5db3fc4d6a888d0cd89')
|
||||||
validpgpkeys=('CFE2BE707B538E8B26757D84151308092983D606')
|
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd $pkgname
|
||||||
|
git describe --tags | sed 's/-/+/g;s/^v//'
|
||||||
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
cd $pkgname
|
||||||
patch -p1 -i ../armv7h-nopic.patch
|
patch -p1 -i ../armv7h-nopic.patch
|
||||||
|
./bootstrap
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
cd $pkgname
|
||||||
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib"
|
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
cd $pkgname
|
||||||
make check
|
make check
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
cd $pkgname
|
||||||
make DESTDIR=${pkgdir} install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue