wok-6.x view syasokoban/receipt @ rev 5688
Up busybox-static (1.16.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 04 18:06:46 2010 +0200 (2010-06-04) |
parents | f3abba8e5e11 |
children | 940b5937e496 |
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 if [ ! -f gcc44.u.done ]; then
19 patch -p0 < ../stuff/gcc44.u
20 touch gcc44.u.done
21 fi
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications
29 cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban
30 cp -a stuff/sokoban.desktop $fs/usr/share/applications
31 cp -a stuff/syasokoban $fs/usr/bin/syasokoban
32 }