# HG changeset patch # User Pascal Bellard # Date 1252787885 -7200 # Node ID f3abba8e5e119d32557ab1af74b6adb5fae73e82 # Parent e991179fb48ce353c0ea192af94a258d29091e80 Add syasokoban diff -r e991179fb48c -r f3abba8e5e11 syasokoban/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/syasokoban/receipt Sat Sep 12 22:38:05 2009 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="syasokoban" +VERSION="2.0.1" +CATEGORY="games" +SHORT_DESC="Sokoban clone." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://grayskygames.com/sokoban.html" +WGET_URL="http://grayskygames.com/sokoban/$TARBALL" +DEPENDS="libsdl gcc-lib-base glibc-base" +BUILD_DEPENDS="libsdl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications + cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban + cp -a stuff/sokoban.desktop $fs/usr/share/applications + cp -a stuff/syasokoban $fs/usr/bin/syasokoban +} + diff -r e991179fb48c -r f3abba8e5e11 syasokoban/stuff/sokoban.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/syasokoban/stuff/sokoban.desktop Sat Sep 12 22:38:05 2009 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Sokoban +Exec=syasokoban +Icon=/usr/share/syasokoban/data/sokoban/SYASokoban.png +Terminal=false +Categories=GTK;Application;Game; diff -r e991179fb48c -r f3abba8e5e11 syasokoban/stuff/syasokoban --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/syasokoban/stuff/syasokoban Sat Sep 12 22:38:05 2009 +0200 @@ -0,0 +1,3 @@ +#!/bin/sh +cd /usr/share/syasokoban +exec ./syasokoban