wok annotate xrick/receipt @ rev 4236

tazbb: get KERNEL variable from linux receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 16:26:08 2009 +0200 (2009-09-24)
parents e8024c01fc47
children 0ca665c79af1
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@1956 32 cp -a stuff/xrick.png $fs/usr/share/pixmpas
erjo@1956 33 cp -a stuff/xrick.desktop $fs/usr/share/applications
erjo@1956 34 }
erjo@1956 35