mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
29 lines
782 B
Bash
29 lines
782 B
Bash
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
|
|
|
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=('sh' '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=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR=${startdir}/pkg install || return 1
|
|
|
|
# Create glibctool and glibtoolize symlinks. Some packages depend on those
|
|
# binary names.
|
|
ln -sf /usr/bin/libtool $pkgdir/usr/bin/glibtool
|
|
ln -sf /usr/bin/libtoolize $pkgdir/usr/bin/glibtoolize
|
|
}
|
|
|
|
# vim: set ft=sh ts=2 sw=2 et:
|