wok annotate gtktetris/receipt @ rev 7789
Add miro.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Dec 24 00:59:58 2010 +0000 (2010-12-24) |
parents | dce81ffe8354 |
children | de49f29b101e |
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" |
pascal@2516 | 8 DEPENDS="gtk+ xorg-libXdamage" |
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 |