wok annotate syasokoban/receipt @ rev 12219

Up: cookutils (1.8) Lots of fixes and improvments
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 05 13:42:18 2012 +0200 (2012-04-05)
parents ec9e7ecc8394
children c4f226b02549
rev   line source
pascal@4071 1 # SliTaz package receipt.
pascal@4071 2
pascal@4071 3 PACKAGE="syasokoban"
pascal@4071 4 VERSION="2.0.1"
pascal@4071 5 CATEGORY="games"
pascal@4071 6 SHORT_DESC="Sokoban clone."
pascal@4071 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4071 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4071 9 WEB_SITE="http://grayskygames.com/sokoban.html"
pascal@4071 10 WGET_URL="http://grayskygames.com/sokoban/$TARBALL"
pascal@4071 11 DEPENDS="libsdl gcc-lib-base glibc-base"
pascal@4071 12 BUILD_DEPENDS="libsdl-dev"
pascal@4071 13
pascal@4071 14 # Rules to configure and make the package.
pascal@4071 15 compile_rules()
pascal@4071 16 {
pascal@4071 17 cd $src
pascal@4072 18 if [ ! -f gcc44.u.done ]; then
pascal@8974 19 patch -p0 < $stuff/gcc44.u
pascal@4072 20 touch gcc44.u.done
pascal@4072 21 fi
pascal@4071 22 make
pascal@4071 23 }
pascal@4071 24
pascal@4071 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4071 26 genpkg_rules()
pascal@4071 27 {
pascal@4071 28 mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications
pascal@4071 29 cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban
pascal@8974 30 cp -a $stuff/sokoban.desktop $fs/usr/share/applications
pascal@8974 31 cp -a $stuff/syasokoban $fs/usr/bin/syasokoban
pascal@4071 32 }
pascal@4071 33