wok annotate xrick/receipt @ rev 20580
go: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 22:11:22 2018 +0100 (2018-12-13) |
parents | c71f826f23cb |
children | 922f061231c2 |
rev | line source |
---|---|
erjo@1956 | 1 # SliTaz package receipt. |
erjo@1956 | 2 |
erjo@1956 | 3 PACKAGE="xrick" |
erjo@1956 | 4 VERSION="021212" |
erjo@1990 | 5 CATEGORY="games" |
erjo@1956 | 6 SHORT_DESC="Rick Dangerous" |
erjo@1956 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL" |
erjo@1956 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
erjo@1956 | 10 WEB_SITE="http://www.bigorno.net/xrick/" |
erjo@1956 | 11 WGET_URL="http://www.bigorno.net/xrick/$TARBALL" |
erjo@1956 | 12 |
pascal@15579 | 13 DEPENDS="libsdl zlib" |
pascal@15579 | 14 BUILD_DEPENDS="libsdl-dev" |
pascal@15579 | 15 |
erjo@1956 | 16 # Rules to configure and make the package. |
erjo@1956 | 17 compile_rules() |
erjo@1956 | 18 { |
erjo@1956 | 19 cd $src |
erjo@1956 | 20 make |
erjo@1956 | 21 } |
erjo@1956 | 22 |
erjo@1956 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1956 | 24 genpkg_rules() |
erjo@1956 | 25 { |
erjo@1956 | 26 mkdir -p $fs/usr/bin \ |
erjo@1956 | 27 $fs/usr/share/xrick |
erjo@1956 | 28 |
erjo@1956 | 29 cp -a $src/$PACKAGE $fs/usr/bin |
erjo@1956 | 30 cp -a $src/data.zip $fs/usr/share/xrick |
erjo@1956 | 31 cp -a $src/KeyCodes $fs/usr/share/xrick |
erjo@1956 | 32 } |
erjo@1956 | 33 |