wok-6.x annotate tazwok/receipt @ rev 1554
db nbs: abort on wget failure
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 12 09:57:17 2008 +0000 (2008-10-12) |
parents | 7d534380fdad |
children | a7975e77ec10 |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazwok" |
pankso@1079 | 4 VERSION="2.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@81 | 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@81 | 24 |
pankso@10 | 25 # Config file |
pankso@10 | 26 cp -a $src/examples/tazwok.conf $fs/etc |
pankso@10 | 27 } |