wok annotate tazwok/receipt @ rev 3874
Apache: ensure pidfile is valid
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 10 13:16:15 2009 +0200 (2009-08-10) |
parents | 0ce188cbda03 |
children | 6da009027189 |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazwok" |
pankso@3840 | 4 VERSION="3.0" |
pankso@210 | 5 CATEGORY="base-system" |
pankso@10 | 6 SHORT_DESC="SliTaz sources and binaries packages cooker." |
pankso@10 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@10 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@10 | 9 WEB_SITE="http://www.slitaz.org/" |
pankso@1079 | 10 WGET_URL="http://mirror.slitaz.org/sources/tazwok/$TARBALL" |
pankso@10 | 11 |
pankso@10 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10 | 13 genpkg_rules() |
pankso@10 | 14 { |
pankso@1079 | 15 mkdir -p $fs/usr/bin \ |
pankso@1079 | 16 $fs/usr/share/examples/tazwok \ |
pankso@1079 | 17 $fs/usr/share/doc/tazwok $fs/etc |
pankso@3839 | 18 |
pankso@10 | 19 # Copy Tazwok, doc and examples. |
pankso@10 | 20 cp -a $src/tazwok $fs/usr/bin |
pankso@10 | 21 chmod 755 $fs/usr/bin/tazwok |
pankso@10 | 22 cp -a $src/doc/* $fs/usr/share/doc/tazwok |
pankso@10 | 23 cp -a $src/examples/* $fs/usr/share/examples/tazwok |
pankso@3839 | 24 cp -a $src/applications $fs/usr/share |
pankso@81 | 25 |
pankso@10 | 26 # Config file |
pankso@10 | 27 cp -a $src/examples/tazwok.conf $fs/etc |
pankso@10 | 28 } |