wok-4.x annotate bastet/receipt @ rev 5619
Up: bastet (0.43)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 27 08:31:01 2010 +0200 (2010-05-27) |
parents | 4ffc7c76d358 |
children | e5ae411e1d8c |
rev | line source |
---|---|
pankso@35 | 1 # SliTaz package receipt. |
pankso@35 | 2 |
pankso@35 | 3 PACKAGE="bastet" |
pankso@5619 | 4 VERSION="0.43" |
pankso@208 | 5 CATEGORY="games" |
pankso@35 | 6 SHORT_DESC="Bastard tetris clone." |
pankso@35 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5619 | 8 DEPENDS="ncurses libboost-program-options" |
pankso@5619 | 9 BUILD_DEPENDS="ncurses-dev libboost-dev libboost-program-options-dev" |
pankso@35 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@35 | 11 WEB_SITE="http://fph.altervista.org/prog/bastet.shtml" |
pankso@5619 | 12 WGET_URL="http://fph.altervista.org/prog/files/$TARBALL" |
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@5619 | 28 touch $fs/var/games/bastet.scores2 |
pankso@5619 | 29 chmod 666 $fs/var/games/bastet.scores2 |
pankso@35 | 30 } |