wok-current view xrick/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents eb8067417980
children
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 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://www.bigorno.net/xrick/"
11 WGET_URL="http://www.bigorno.net/xrick/$TARBALL"
13 DEPENDS="libsdl zlib"
14 BUILD_DEPENDS="libsdl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://www.bigorno.net/xrick/ 2>/dev/null | \
20 sed '/"Download"/!d;s|.*xrick-||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin \
34 $fs/usr/share/xrick
36 cp -a $src/$PACKAGE $fs/usr/bin
37 cp -a $src/data.zip $fs/usr/share/xrick
38 cp -a $src/KeyCodes $fs/usr/share/xrick
39 }