2017-09-09 16:46:46 +00:00
|
|
|
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
|
|
|
# Contributor: Allan McRae <allan@archlinux.org>
|
2012-05-13 23:41:15 +00:00
|
|
|
# Contributor: judd <jvinet@zeroflux.org>
|
|
|
|
|
|
|
|
# NOTE: requires rebuilt with each new gcc version
|
|
|
|
|
2014-12-14 17:33:10 +00:00
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - noautobuild, !distcc
|
|
|
|
# - removed multilib stuff
|
2014-12-14 17:36:44 +00:00
|
|
|
# - patch for armv7h tests
|
2014-12-14 17:33:10 +00:00
|
|
|
|
2015-05-22 00:55:54 +00:00
|
|
|
noautobuild=1
|
2014-12-14 17:33:10 +00:00
|
|
|
|
2014-12-14 15:46:10 +00:00
|
|
|
pkgname=libtool
|
2019-06-18 12:42:29 +00:00
|
|
|
pkgver=2.4.6+42+gb88cebd5
|
|
|
|
pkgrel=4
|
2019-04-20 15:33:30 +00:00
|
|
|
_gccver=8.3.0
|
2017-09-09 16:46:46 +00:00
|
|
|
pkgdesc='A generic library support script'
|
2017-12-07 13:49:07 +00:00
|
|
|
arch=(x86_64)
|
2018-02-03 01:07:17 +00:00
|
|
|
url='http://www.gnu.org/software/libtool'
|
2017-09-09 16:46:46 +00:00
|
|
|
license=(GPL)
|
|
|
|
groups=(base-devel)
|
|
|
|
depends=(sh tar glibc)
|
2018-03-20 11:19:51 +00:00
|
|
|
makedepends=("gcc>=$_gccver" git help2man)
|
2018-05-07 12:34:20 +00:00
|
|
|
checkdepends=(gcc-fortran)
|
2014-12-14 17:36:44 +00:00
|
|
|
provides=("libltdl=$pkgver")
|
2018-03-20 11:19:51 +00:00
|
|
|
conflicts=(libltdl)
|
|
|
|
replaces=(libltdl)
|
2014-12-14 17:33:10 +00:00
|
|
|
options=('!distcc')
|
2019-06-09 20:04:38 +00:00
|
|
|
_commit=b9b44533fbf7c7752ffd255c3d09cc360e24183b
|
2017-09-09 16:46:46 +00:00
|
|
|
source=(git+https://git.savannah.gnu.org/git/libtool.git#commit=$_commit
|
2014-12-14 17:22:09 +00:00
|
|
|
armv7h-nopic.patch)
|
2017-09-09 16:46:46 +00:00
|
|
|
md5sums=('SKIP'
|
2014-12-14 17:22:09 +00:00
|
|
|
'8a1fdc77814fa5db3fc4d6a888d0cd89')
|
2017-09-09 16:46:46 +00:00
|
|
|
|
|
|
|
pkgver() {
|
2017-12-07 13:49:07 +00:00
|
|
|
cd libtool
|
2017-09-09 16:46:46 +00:00
|
|
|
git describe --tags | sed 's/-/+/g;s/^v//'
|
|
|
|
}
|
2012-05-13 23:41:15 +00:00
|
|
|
|
2014-12-14 17:22:09 +00:00
|
|
|
prepare() {
|
2017-12-07 13:49:07 +00:00
|
|
|
cd libtool
|
2014-12-14 17:22:09 +00:00
|
|
|
patch -p1 -i ../armv7h-nopic.patch
|
2017-09-09 16:46:46 +00:00
|
|
|
./bootstrap
|
2014-12-14 17:22:09 +00:00
|
|
|
}
|
|
|
|
|
2012-05-13 23:41:15 +00:00
|
|
|
build() {
|
2017-12-07 13:49:07 +00:00
|
|
|
cd libtool
|
2017-09-09 16:46:46 +00:00
|
|
|
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32"
|
2012-05-13 23:41:15 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2017-12-07 13:49:07 +00:00
|
|
|
cd libtool
|
2018-05-07 12:34:20 +00:00
|
|
|
make check gl_public_submodule_commit=
|
2012-05-13 23:41:15 +00:00
|
|
|
}
|
|
|
|
|
2014-12-14 15:46:10 +00:00
|
|
|
package() {
|
2017-12-07 13:49:07 +00:00
|
|
|
cd libtool
|
2017-09-09 16:46:46 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2012-05-13 23:41:15 +00:00
|
|
|
}
|