mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
752 B
Bash
26 lines
752 B
Bash
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
|
# Modified by OpenPogo
|
|
|
|
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')
|
|
depends=('tar')
|
|
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('8ca1ea241cd27ff9832e045fe9afe4fd')
|
|
options=('!libtool')
|
|
|
|
build() {
|
|
cd $srcdir/libtool-2.2.6
|
|
|
|
./configure --prefix=/opt || return 1
|
|
make || return 1
|
|
make DESTDIR=${startdir}/pkg install || return 1
|
|
# 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
|
|
}
|