wok annotate xrick/receipt @ rev 8695
improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:04:20 2011 +0100 (2011-02-17) |
parents | 3ee8a4a0be3d |
children | c71f826f23cb |
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" |
pankso@3427 | 8 DEPENDS="libsdl zlib" |
pankso@3425 | 9 BUILD_DEPENDS="libsdl-dev" |
erjo@1956 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
erjo@1956 | 11 WEB_SITE="http://www.bigorno.net/xrick/" |
erjo@1956 | 12 WGET_URL="http://www.bigorno.net/xrick/$TARBALL" |
erjo@1956 | 13 |
erjo@1956 | 14 # Rules to configure and make the package. |
erjo@1956 | 15 compile_rules() |
erjo@1956 | 16 { |
erjo@1956 | 17 cd $src |
erjo@1956 | 18 make |
erjo@1956 | 19 } |
erjo@1956 | 20 |
erjo@1956 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1956 | 22 genpkg_rules() |
erjo@1956 | 23 { |
erjo@1956 | 24 mkdir -p $fs/usr/bin \ |
erjo@1956 | 25 $fs/usr/share/applications \ |
erjo@1956 | 26 $fs/usr/share/pixmaps \ |
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@5168 | 32 cp -a stuff/xrick.png $fs/usr/share/pixmaps |
erjo@1956 | 33 cp -a stuff/xrick.desktop $fs/usr/share/applications |
erjo@1956 | 34 } |
erjo@1956 | 35 |