wok annotate gperf/receipt @ rev 4352
db: enable comat185 (thanks allan)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 03 20:24:26 2009 +0200 (2009-10-03) |
parents | 48a9cf6ce47e |
children | beafc9e0975e |
rev | line source |
---|---|
pankso@874 | 1 # SliTaz package receipt. |
pankso@874 | 2 |
pankso@874 | 3 PACKAGE="gperf" |
pankso@874 | 4 VERSION="3.0.3" |
pascal@1423 | 5 CATEGORY="development" |
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 |