wok-4.x annotate libtool/receipt @ rev 6401
gcc+gcj: add objective-C support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 10:58:49 2010 +0200 (2010-09-25) |
parents | 23ef57fd672c |
children | f73b9b2a0181 |
rev | line source |
---|---|
pankso@30 | 1 # SliTaz package receipt. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libtool" |
slaxemulator@6201 | 4 VERSION="2.2.10" |
pankso@211 | 5 CATEGORY="development" |
pankso@30 | 6 SHORT_DESC="The GNU Portable Library Tool." |
pankso@30 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@30 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@30 | 9 WEB_SITE="http://www.gnu.org/software/libtool/" |
pankso@30 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@30 | 11 |
pankso@30 | 12 # Rules to configure and make the package. |
pankso@30 | 13 compile_rules() |
pankso@30 | 14 { |
pankso@30 | 15 cd $src |
pankso@530 | 16 ./configure \ |
pankso@530 | 17 --prefix=/usr \ |
pankso@530 | 18 --infodir=/usr/share/info \ |
pankso@530 | 19 --mandir=/usr/share/man \ |
pankso@530 | 20 $CONFIGURE_ARGS |
pankso@30 | 21 make |
pankso@30 | 22 make DESTDIR=$PWD/_pkg install |
pankso@30 | 23 } |
pankso@30 | 24 |
pankso@30 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 26 genpkg_rules() |
pankso@30 | 27 { |
pankso@30 | 28 mkdir -p $fs/usr/share |
pankso@30 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@30 | 30 cp -a $_pkg/usr/lib $fs/usr |
pankso@30 | 31 cp -a $_pkg/usr/include $fs/usr |
pankso@30 | 32 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@30 | 33 cp -a $_pkg/usr/share/libtool $fs/usr/share |
pankso@30 | 34 } |