wok-current annotate gperf/receipt @ rev 874
Add: gperf
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 06 15:14:57 2008 +0200 (2008-06-06) |
parents | |
children | 03a799424aaa |
rev | line source |
---|---|
pankso@874 | 1 # SliTaz package receipt. |
pankso@874 | 2 |
pankso@874 | 3 PACKAGE="gperf" |
pankso@874 | 4 VERSION="3.0.3" |
pankso@874 | 5 CATEGORY="developement" |
pankso@874 | 6 SHORT_DESC="GNU gperf is a perfect hash function generator." |
pankso@874 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@874 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@874 | 9 WEB_SITE="http://www.gnu.org/software/gperf/" |
pankso@874 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@874 | 11 |
pankso@874 | 12 # Rules to configure and make the package. |
pankso@874 | 13 compile_rules() |
pankso@874 | 14 { |
pankso@874 | 15 cd $src |
pankso@874 | 16 ./configure \ |
pankso@874 | 17 --prefix=/usr \ |
pankso@874 | 18 --mandir=/usr/share/man \ |
pankso@874 | 19 $CONFIGURE_ARGS |
pankso@874 | 20 make |
pankso@874 | 21 make DESTDIR=$PWD/_pkg install |
pankso@874 | 22 } |
pankso@874 | 23 |
pankso@874 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@874 | 25 genpkg_rules() |
pankso@874 | 26 { |
pankso@874 | 27 mkdir -p $fs/usr |
pankso@874 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@874 | 29 } |
pankso@874 | 30 |