wok-current view syasokoban/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents 940b5937e496
children 8dd8bab3f0ca
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 }