wok annotate tazwok/receipt @ rev 9112
taglib: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 10:44:27 2011 +0100 (2011-03-05) |
parents | 8b1cff81486b |
children | ba8df2176f23 |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazwok" |
gokhlayeh@9106 | 4 VERSION="4.2.5" |
pankso@210 | 5 CATEGORY="base-system" |
pankso@10 | 6 SHORT_DESC="SliTaz sources and binaries packages cooker." |
pankso@10 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@8012 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@8820 | 9 DEPENDS="busybox libtaz" |
gokhlayeh@8824 | 10 SUGGESTED="tazchroot" |
pankso@10 | 11 WEB_SITE="http://www.slitaz.org/" |
gokhlayeh@8012 | 12 WGET_URL="http://mirror.slitaz.org/sources/tazwok/$TARBALL" |
jozee@4973 | 13 TAGS="slitaz" |
pankso@10 | 14 |
pankso@10 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10 | 16 genpkg_rules() |
pankso@10 | 17 { |
pankso@8776 | 18 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \ |
pankso@8776 | 19 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \ |
pankso@8776 | 20 $fs/usr/lib/slitaz/chroot-scripts |
pankso@10 | 21 # Copy Tazwok, doc and examples. |
pankso@10 | 22 cp -a $src/tazwok $fs/usr/bin |
pankso@10 | 23 chmod 755 $fs/usr/bin/tazwok |
pankso@10 | 24 cp -a $src/doc/* $fs/usr/share/doc/tazwok |
pankso@3839 | 25 cp -a $src/applications $fs/usr/share |
pankso@10 | 26 # Config file |
pankso@8776 | 27 cp -a $src/examples/tazwok.conf $fs/etc/slitaz |
pankso@8776 | 28 cp -a $src/examples/config.site $fs/etc |
pankso@8776 | 29 # Webserver stuff |
pankso@8776 | 30 cp -a $src/web/* $fs/usr/share/slitaz/web-bb |
pankso@8776 | 31 # Chroot scripts |
pankso@8776 | 32 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok |
pankso@10 | 33 } |