wok-next rev 4071
Add syasokoban
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 12 22:38:05 2009 +0200 (2009-09-12) |
parents | e991179fb48c |
children | ec9e7ecc8394 |
files | syasokoban/receipt syasokoban/stuff/sokoban.desktop syasokoban/stuff/syasokoban |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/syasokoban/receipt Sat Sep 12 22:38:05 2009 +0200 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="syasokoban" 1.7 +VERSION="2.0.1" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Sokoban clone." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://grayskygames.com/sokoban.html" 1.13 +WGET_URL="http://grayskygames.com/sokoban/$TARBALL" 1.14 +DEPENDS="libsdl gcc-lib-base glibc-base" 1.15 +BUILD_DEPENDS="libsdl-dev" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + make 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications 1.28 + cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban 1.29 + cp -a stuff/sokoban.desktop $fs/usr/share/applications 1.30 + cp -a stuff/syasokoban $fs/usr/bin/syasokoban 1.31 +} 1.32 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/syasokoban/stuff/sokoban.desktop Sat Sep 12 22:38:05 2009 +0200 2.3 @@ -0,0 +1,8 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Encoding=UTF-8 2.7 +Name=Sokoban 2.8 +Exec=syasokoban 2.9 +Icon=/usr/share/syasokoban/data/sokoban/SYASokoban.png 2.10 +Terminal=false 2.11 +Categories=GTK;Application;Game;