wok-current view syasokoban/receipt @ rev 4071

Add syasokoban
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 12 22:38:05 2009 +0200 (2009-09-12)
parents
children ec9e7ecc8394
line source
1 # SliTaz package receipt.
3 PACKAGE="syasokoban"
4 VERSION="2.0.1"
5 CATEGORY="games"
6 SHORT_DESC="Sokoban clone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://grayskygames.com/sokoban.html"
10 WGET_URL="http://grayskygames.com/sokoban/$TARBALL"
11 DEPENDS="libsdl gcc-lib-base glibc-base"
12 BUILD_DEPENDS="libsdl-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications
25 cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban
26 cp -a stuff/sokoban.desktop $fs/usr/share/applications
27 cp -a stuff/syasokoban $fs/usr/bin/syasokoban
28 }