wok annotate cookutils/receipt @ rev 12778
add tazpkg and cookutils to arm
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 13 16:00:53 2012 +0200 (2012-05-13) |
parents | 5ff40667cd59 |
children | dfdb3fd470af |
rev | line source |
---|---|
pankso@9812 | 1 # SliTaz package receipt. |
pankso@9812 | 2 |
pankso@9812 | 3 PACKAGE="cookutils" |
pankso@12777 | 4 VERSION="2.0" |
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@12778 | 12 HOST_ARCH="i486 arm" |
pankso@9812 | 13 |
pankso@9812 | 14 # Rules to configure and make the package. |
pankso@9812 | 15 compile_rules() |
pankso@9812 | 16 { |
pankso@9812 | 17 cd $src |
pankso@9812 | 18 mkdir -p $DESTDIR/usr/bin $DESTDIR/etc/slitaz |
pankso@9812 | 19 make DESTDIR=$DESTDIR install |
pankso@9812 | 20 } |
pankso@9812 | 21 |
pankso@9812 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9812 | 23 genpkg_rules() |
pankso@9812 | 24 { |
pankso@9812 | 25 mkdir -p $fs |
pankso@9812 | 26 cp -a $install/* $fs |
pankso@9826 | 27 # Daemon goes in cookutils-deamon |
pankso@9826 | 28 rm -rf $fs/etc/init.d |
pankso@9812 | 29 } |