CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[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
6 name=libtool
7 version=2.2.6a
8 release=1
9 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
10 libtool.1 libtoolize.1)
11
12 build() {
13 cd $name-${version/a/}
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr
17 make
18 make DESTDIR=$PKG install
19 mkdir -p $PKG/usr/man/man1
20 cp $SRC/libtool.1 $SRC/libtoolize.1 $PKG/usr/man/man1
21 rm -rf $PKG/usr/{info,share/info}
22 rm $PKG/usr/share/libtool/libltdl/README
23 }