wok-6.x annotate bastet/receipt @ rev 4717
slitaz-dev-tools: add tazdev purge
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 05 11:56:30 2010 +0100 (2010-01-05) |
parents | 3e8ffa6ff731 |
children | 74c0ed135339 |
rev | line source |
---|---|
pankso@35 | 1 # SliTaz package receipt. |
pankso@35 | 2 |
pankso@35 | 3 PACKAGE="bastet" |
pankso@35 | 4 VERSION="0.41" |
pankso@208 | 5 CATEGORY="games" |
pankso@35 | 6 SHORT_DESC="Bastard tetris clone." |
pankso@35 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@35 | 8 DEPENDS="ncurses" |
pascal@1439 | 9 BUILD_DEPENDS="ncurses-dev" |
pankso@35 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@35 | 11 WEB_SITE="http://fph.altervista.org/prog/bastet.shtml" |
pankso@35 | 12 WGET_URL="http://fph.altervista.org/prog/bastet-0.41.tgz" |
jozee@3567 | 13 TAGS="tetris" |
pankso@35 | 14 |
pankso@35 | 15 # Rules to configure and make the package. |
pankso@35 | 16 compile_rules() |
pankso@35 | 17 { |
pankso@35 | 18 cd $src |
pascal@1439 | 19 make && |
pankso@35 | 20 strip bastet |
pankso@35 | 21 } |
pankso@35 | 22 |
pankso@35 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 24 genpkg_rules() |
pankso@35 | 25 { |
pankso@35 | 26 mkdir -p $fs/usr/games $fs/var/games |
pankso@35 | 27 cp -a $src/bastet $fs/usr/games |
pankso@35 | 28 touch $fs/var/games/bastet.scores |
pankso@35 | 29 chmod 666 $fs/var/games/bastet.scores |
pankso@35 | 30 } |