wok-6.x annotate syasokoban/receipt @ rev 6823
Add fftw: mv from undigest
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Oct 19 21:04:01 2010 -0400 (2010-10-19) |
parents | f3abba8e5e11 |
children | 940b5937e496 |
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@4071 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4071 | 9 WEB_SITE="http://grayskygames.com/sokoban.html" |
pascal@4071 | 10 WGET_URL="http://grayskygames.com/sokoban/$TARBALL" |
pascal@4071 | 11 DEPENDS="libsdl gcc-lib-base glibc-base" |
pascal@4071 | 12 BUILD_DEPENDS="libsdl-dev" |
pascal@4071 | 13 |
pascal@4071 | 14 # Rules to configure and make the package. |
pascal@4071 | 15 compile_rules() |
pascal@4071 | 16 { |
pascal@4071 | 17 cd $src |
pascal@4072 | 18 if [ ! -f gcc44.u.done ]; then |
pascal@4072 | 19 patch -p0 < ../stuff/gcc44.u |
pascal@4072 | 20 touch gcc44.u.done |
pascal@4072 | 21 fi |
pascal@4071 | 22 make |
pascal@4071 | 23 } |
pascal@4071 | 24 |
pascal@4071 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4071 | 26 genpkg_rules() |
pascal@4071 | 27 { |
pascal@4071 | 28 mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications |
pascal@4071 | 29 cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban |
pascal@4071 | 30 cp -a stuff/sokoban.desktop $fs/usr/share/applications |
pascal@4071 | 31 cp -a stuff/syasokoban $fs/usr/bin/syasokoban |
pascal@4071 | 32 } |
pascal@4071 | 33 |