wok-6.x view syasokoban/receipt @ rev 21130
Up xpaint (2.9.10.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 21 11:55:21 2019 +0100 (2019-03-21) |
parents | c4f226b02549 |
children | 934055de50e2 |
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="https://grayskygames.com/sokoban.html"
11 WGET_URL="https://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 }