wok-6.x annotate syasokoban/receipt @ rev 20029

Up mosh (1.3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 20 09:44:00 2017 +0200 (2017-08-20)
parents 940b5937e496
children 8dd8bab3f0ca
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@4071 10 WEB_SITE="http://grayskygames.com/sokoban.html"
pascal@4071 11 WGET_URL="http://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