PKGBUILDs/core/libtool/PKGBUILD

27 lines
752 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
2009-09-26 16:30:17 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=libtool
pkgver=2.2.6a
pkgrel=2
pkgdesc="A generic library support script"
arch=('arm')
license=('GPL')
url="http://www.gnu.org/software/libtool"
groups=('base-devel')
2009-09-26 16:30:17 +00:00
depends=('tar')
2009-09-26 14:35:50 +00:00
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz)
md5sums=('8ca1ea241cd27ff9832e045fe9afe4fd')
options=('!libtool')
build() {
cd $srcdir/libtool-2.2.6
2009-09-26 16:30:17 +00:00
./configure --prefix=/opt || return 1
2009-09-26 14:35:50 +00:00
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
2009-09-26 16:30:17 +00:00
# Don't the following 2 commands pull from the host builder system? Not cool?
ln -sf /opt/bin/libtool $pkgdir/opt/bin/glibtool
ln -sf /opt/bin/libtoolize $pkgdir/opt/bin/glibtoolize
2009-09-26 14:35:50 +00:00
}