wok view syasokoban/receipt @ rev 21912
updated sipsak (0.9.6-1 -> 0.9.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 04 16:51:20 2019 +0100 (2019-10-04) |
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 }