wok-6.x annotate bastet/receipt @ rev 18267
Up subversion (1.9.0), apache (2.4.16)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 06 12:50:00 2015 +0200 (2015-08-06) |
parents | 7d6089953592 |
children | 11b5e93cb5f2 |
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" |
pascal@14997 | 8 LICENSE="GPL3" |
pankso@5619 | 9 DEPENDS="ncurses libboost-program-options" |
pankso@5619 | 10 BUILD_DEPENDS="ncurses-dev libboost-dev libboost-program-options-dev" |
pankso@35 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@35 | 12 WEB_SITE="http://fph.altervista.org/prog/bastet.shtml" |
pankso@5619 | 13 WGET_URL="http://fph.altervista.org/prog/files/$TARBALL" |
jozee@3567 | 14 TAGS="tetris" |
pankso@35 | 15 |
pankso@35 | 16 # Rules to configure and make the package. |
pankso@35 | 17 compile_rules() |
pankso@35 | 18 { |
pascal@17670 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@13827 | 20 make depend 2> /dev/null |
slaxemulator@9475 | 21 make |
pankso@35 | 22 } |
pankso@35 | 23 |
pankso@35 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 25 genpkg_rules() |
pankso@35 | 26 { |
pankso@35 | 27 mkdir -p $fs/usr/games $fs/var/games |
pankso@35 | 28 cp -a $src/bastet $fs/usr/games |
pankso@5619 | 29 touch $fs/var/games/bastet.scores2 |
pankso@5619 | 30 chmod 666 $fs/var/games/bastet.scores2 |
pankso@35 | 31 } |