wok-6.x annotate gperf/receipt @ rev 15589
Add some license
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 02 17:47:06 2013 +0000 (2013-12-02) |
parents | beafc9e0975e |
children | 6d8a4be89f3d |
rev | line source |
---|---|
pankso@874 | 1 # SliTaz package receipt. |
pankso@874 | 2 |
pankso@874 | 3 PACKAGE="gperf" |
slaxemulator@6300 | 4 VERSION="3.0.4" |
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" |
pascal@15589 | 8 LICENSE="GPL3" |
pankso@874 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@874 | 10 WEB_SITE="http://www.gnu.org/software/gperf/" |
pankso@874 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@874 | 12 |
pankso@874 | 13 # Rules to configure and make the package. |
pankso@874 | 14 compile_rules() |
pankso@874 | 15 { |
pankso@874 | 16 cd $src |
pankso@874 | 17 ./configure \ |
pankso@874 | 18 --prefix=/usr \ |
pankso@874 | 19 --mandir=/usr/share/man \ |
pankso@874 | 20 $CONFIGURE_ARGS |
pankso@874 | 21 make |
pascal@15589 | 22 make DESTDIR=$DESTDIR install |
pankso@874 | 23 } |
pankso@874 | 24 |
pankso@874 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@874 | 26 genpkg_rules() |
pankso@874 | 27 { |
pankso@874 | 28 mkdir -p $fs/usr |
pascal@15589 | 29 cp -a $install/usr/bin $fs/usr |
pankso@874 | 30 } |
pankso@874 | 31 |