wok-stable view syasokoban/receipt @ rev 10921

fix get-LibreOffice
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 05 21:16:43 2011 +0200 (2011-08-05)
parents ec9e7ecc8394
children
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 }