wok-current annotate gtktetris/receipt @ rev 16542

slitaz-menus: add Arabic translations (from xfce & lxde)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 29 09:40:24 2014 +0000 (2014-04-29)
parents 8b79c3ee7ac2
children 86790a278e70
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@15600 8 LICENSE="GPL2"
pankso@1036 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@1036 10 WEB_SITE="http://sourceforge.net/projects/gtktetris/"
pankso@1036 11 WGET_URL="http://mirror.slitaz.org/sources/packages/g/$TARBALL"
pascal@15600 12
pascal@15600 13 DEPENDS="gtk+ xorg-libXdamage"
pascal@15600 14 BUILD_DEPENDS="gtk+-dev"
pascal@15600 15
pankso@1036 16 # Rules to configure and make the package.
pankso@1036 17 compile_rules()
pankso@1036 18 {
pankso@1036 19 cd $src
pankso@1036 20 sed -i s:'BIN_PATH = /usr/local/bin':'BIN_PATH = /usr/games:' Makefile
pankso@1036 21 sed -i s:'HIGHSCORE_PATH = /usr/local/games/gtktetris':'HIGHSCORE_PATH=/var/games/gtktetris:' Makefile
pankso@1036 22 make
pankso@1036 23 }
pankso@1036 24
pankso@1036 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1036 26 genpkg_rules()
pankso@1036 27 {
pankso@1036 28 mkdir -p $fs/usr/games $fs/var/games/gtktetris
pankso@1036 29 cp -a $src/gtktetris $fs/usr/games
pankso@1036 30 touch $fs/var/games/gtktetris/highscore.dat
pankso@1036 31 chmod 666 $fs/var/games/gtktetris/highscore.dat
pankso@1036 32 }
pankso@1036 33