PKGBUILDs/core/libtool/PKGBUILD

56 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 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
2015-03-08 04:57:56 +00:00
pkgver=2.4.6
2016-09-27 12:48:26 +00:00
pkgrel=6
_gccver=6.2.1
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')
2015-01-27 12:53:48 +00:00
makedepends=("gcc=$_gccver")
2014-12-14 17:36:44 +00:00
provides=("libltdl=$pkgver")
conflicts=('libltdl')
replaces=('libltdl')
2014-12-14 17:33:10 +00:00
options=('!distcc')
2014-12-14 17:22:09 +00:00
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}
armv7h-nopic.patch)
2015-03-08 04:57:56 +00:00
md5sums=('1bfb9b923f2c1339b4d2ce1807064aa5'
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}
2015-01-27 12:53:48 +00:00
./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib"
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
}