wok-6.x annotate cookutils/receipt @ rev 10730
slitaz-mercurial-style: fix TARBALL
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 29 04:12:19 2011 +0200 (2011-05-29) |
parents | 6cc1797db326 |
children | 2a223581b80f |
rev | line source |
---|---|
pankso@9812 | 1 # SliTaz package receipt. |
pankso@9812 | 2 |
pankso@9812 | 3 PACKAGE="cookutils" |
pankso@10720 | 4 VERSION="1.3" |
pankso@9812 | 5 CATEGORY="base-system" |
pankso@9812 | 6 SHORT_DESC="SliTaz packages builder new generation." |
pankso@9812 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@9812 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@9812 | 9 WEB_SITE="http://www.slitaz.org/" |
pankso@9812 | 10 WGET_URL="http://mirror.slitaz.org/sources/$PACKAGE/$TARBALL" |
pankso@9812 | 11 TAGS="slitaz" |
pankso@9812 | 12 |
pankso@9812 | 13 # Rules to configure and make the package. |
pankso@9812 | 14 compile_rules() |
pankso@9812 | 15 { |
pankso@9812 | 16 cd $src |
pankso@9812 | 17 mkdir -p $DESTDIR/usr/bin $DESTDIR/etc/slitaz |
pankso@9812 | 18 make DESTDIR=$DESTDIR install |
pankso@9812 | 19 } |
pankso@9812 | 20 |
pankso@9812 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9812 | 22 genpkg_rules() |
pankso@9812 | 23 { |
pankso@9812 | 24 mkdir -p $fs |
pankso@9812 | 25 cp -a $install/* $fs |
pankso@9826 | 26 # Daemon goes in cookutils-deamon |
pankso@9826 | 27 rm -rf $fs/etc/init.d |
pankso@9812 | 28 } |