wok-6.x annotate gtktetris/receipt @ rev 1245
perdition: describe known bugs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 12 07:24:16 2008 +0000 (2008-08-12) |
parents | |
children | 8b79c3ee7ac2 |
rev | line source |
---|---|
pankso@1036 | 1 # SliTaz package receipt |
pankso@1036 | 2 |
pankso@1036 | 3 PACKAGE="gtktetris" |
pankso@1036 | 4 VERSION="0.6.2" |
pankso@1036 | 5 CATEGORY="games" |
pankso@1036 | 6 SHORT_DESC="Simple tetris game using GTK." |
pankso@1036 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@1036 | 8 DEPENDS="gtk+" |
pankso@1036 | 9 BUILD_DEPENDS="gtk+-dev" |
pankso@1036 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@1036 | 11 WEB_SITE="http://sourceforge.net/projects/gtktetris/" |
pankso@1036 | 12 WGET_URL="http://mirror.slitaz.org/sources/packages/g/$TARBALL" |
pankso@1036 | 13 # Rules to configure and make the package. |
pankso@1036 | 14 compile_rules() |
pankso@1036 | 15 { |
pankso@1036 | 16 cd $src |
pankso@1036 | 17 sed -i s:'BIN_PATH = /usr/local/bin':'BIN_PATH = /usr/games:' Makefile |
pankso@1036 | 18 sed -i s:'HIGHSCORE_PATH = /usr/local/games/gtktetris':'HIGHSCORE_PATH=/var/games/gtktetris:' Makefile |
pankso@1036 | 19 make |
pankso@1036 | 20 } |
pankso@1036 | 21 |
pankso@1036 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1036 | 23 genpkg_rules() |
pankso@1036 | 24 { |
pankso@1036 | 25 mkdir -p $fs/usr/games $fs/var/games/gtktetris |
pankso@1036 | 26 cp -a $src/gtktetris $fs/usr/games |
pankso@1036 | 27 touch $fs/var/games/gtktetris/highscore.dat |
pankso@1036 | 28 chmod 666 $fs/var/games/gtktetris/highscore.dat |
pankso@1036 | 29 } |
pankso@1036 | 30 |