wok view syasokoban/receipt @ rev 11748
Up web-applications and fix Jamendo desktop file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 22 02:53:56 2012 +0100 (2012-02-22) |
parents | ec9e7ecc8394 |
children | c4f226b02549 |
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 }