wok-4.x annotate tazwok/receipt @ rev 1734

memtest: build from source
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 21 10:23:14 2008 +0000 (2008-11-21)
parents 5bffaa98f67d
children d227250e6276
rev   line source
pankso@10 1 # SliTaz package receipt.
pankso@10 2
pankso@10 3 PACKAGE="tazwok"
pascal@1573 4 VERSION="2.1"
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 }