wok view libtool/receipt @ rev 9767
libffcall: add CVS WGET_URL support
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 20:17:27 2011 +0200 (2011-05-11) |
parents | 38286698e49d |
children | ac4274a26d94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtool"
4 VERSION="2.4"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Portable Library Tool."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libltdl automake autoconf"
9 BUILD_DEPENDS="automake autoconf"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/libtool/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --enable-shared && make && make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr \
26 $fs/usr/share $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
29 cp -a $_pkg/usr/include $fs/usr
30 cp -a $_pkg/usr/share/aclocal $fs/usr/share
31 cp -a $_pkg/usr/share/libtool $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 }