CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libtool: updated to 2.2.6b
[crossrootfs.git] / libtool / Pkgfile
1 # Description: A generic library support script
2 # URL: http://www.gnu.org/software/libtool/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
5 # Depends on:
6
7 name=libtool
8 version=2.2.6b
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
11 libtool.1 libtoolize.1)
12
13 build() {
14 cd $name-${version/a/}
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr
18 make
19 make DESTDIR=$PKG install
20 mkdir -p $PKG/usr/man/man1
21 cp $SRC/libtool.1 $SRC/libtoolize.1 $PKG/usr/man/man1
22 rm -rf $PKG/usr/{info,share/info}
23 rm $PKG/usr/share/libtool/libltdl/README
24 }