wok-current annotate gtktetris/receipt @ rev 22860

updated gnomad2 (2.9.4 -> 2.9.6)
author Hans-G?nter Theisgen
date Thu Feb 20 15:00:57 2020 +0100 (2020-02-20)
parents de49f29b101e
children 370da83187ab
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"
pascal@20421 10 WEB_SITE="https://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