wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="xrick"
4 VERSION="021212"
5 CATEGORY="games"
6 SHORT_DESC="Rick Dangerous"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libsdl zlib"
9 BUILD_DEPENDS="libsdl-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://www.bigorno.net/xrick/"
12 WGET_URL="http://www.bigorno.net/xrick/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin \
25 $fs/usr/share/applications \
26 $fs/usr/share/pixmaps \
27 $fs/usr/share/xrick
29 cp -a $src/$PACKAGE $fs/usr/bin
30 cp -a $src/data.zip $fs/usr/share/xrick
31 cp -a $src/KeyCodes $fs/usr/share/xrick
32 cp -a stuff/xrick.png $fs/usr/share/pixmpas
33 cp -a stuff/xrick.desktop $fs/usr/share/applications
34 }