wok-next view syasokoban/receipt @ rev 17533

Add libssh2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 21 17:12:27 2015 +0100 (2015-01-21)
parents 940b5937e496
children bca48f3b8bb3
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 LICENSE="GPL2 BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://grayskygames.com/sokoban.html"
11 WGET_URL="http://grayskygames.com/sokoban/$TARBALL"
13 DEPENDS="libsdl gcc-lib-base glibc-base"
14 BUILD_DEPENDS="libsdl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 if [ ! -f gcc44.u.done ]; then
21 patch -p0 < $stuff/gcc44.u
22 touch gcc44.u.done
23 fi
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications
31 cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban
32 cp -a $stuff/sokoban.desktop $fs/usr/share/applications
33 cp -a $stuff/syasokoban $fs/usr/bin/syasokoban
34 }