wok-current view syasokoban/receipt @ rev 15041
iproute2: fix genpkg_rules
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Mon Aug 12 13:44:12 2013 +0000 (2013-08-12) | 
| 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 }