wok annotate syasokoban/receipt @ rev 20783

updated chemtool (1.6.12 -> 1.6.14)
author Hans-G?nter Theisgen
date Thu Feb 14 15:04:32 2019 +0100 (2019-02-14)
parents c4f226b02549
children 934055de50e2
rev   line source
pascal@4071 1 # SliTaz package receipt.
pascal@4071 2
pascal@4071 3 PACKAGE="syasokoban"
pascal@4071 4 VERSION="2.0.1"
pascal@4071 5 CATEGORY="games"
pascal@4071 6 SHORT_DESC="Sokoban clone."
pascal@4071 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15581 8 LICENSE="GPL2 BSD"
pascal@4071 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20672 10 WEB_SITE="https://grayskygames.com/sokoban.html"
pascal@20672 11 WGET_URL="https://grayskygames.com/sokoban/$TARBALL"
pascal@15581 12
pascal@4071 13 DEPENDS="libsdl gcc-lib-base glibc-base"
pascal@4071 14 BUILD_DEPENDS="libsdl-dev"
pascal@4071 15
pascal@4071 16 # Rules to configure and make the package.
pascal@4071 17 compile_rules()
pascal@4071 18 {
pascal@4071 19 cd $src
pascal@4072 20 if [ ! -f gcc44.u.done ]; then
pascal@8974 21 patch -p0 < $stuff/gcc44.u
pascal@4072 22 touch gcc44.u.done
pascal@4072 23 fi
pascal@4071 24 make
pascal@4071 25 }
pascal@4071 26
pascal@4071 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4071 28 genpkg_rules()
pascal@4071 29 {
pascal@4071 30 mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications
pascal@4071 31 cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban
pascal@8974 32 cp -a $stuff/sokoban.desktop $fs/usr/share/applications
pascal@8974 33 cp -a $stuff/syasokoban $fs/usr/bin/syasokoban
pascal@4071 34 }
pascal@4071 35