wok annotate xrick/receipt @ rev 24435
updated consolekit2 and consolekit2-dev (1.2.1 -> 1.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 13 07:06:09 2022 +0100 (2022-02-13) |
parents | eb8067417980 |
children |
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 |
pascal@24304 | 16 # What is the latest version available today? |
pascal@24304 | 17 current_version() |
pascal@24304 | 18 { |
pascal@24304 | 19 wget -O - http://www.bigorno.net/xrick/ 2>/dev/null | \ |
pascal@24304 | 20 sed '/"Download"/!d;s|.*xrick-||;s|<.*||;q' |
pascal@24304 | 21 } |
pascal@24304 | 22 |
erjo@1956 | 23 # Rules to configure and make the package. |
erjo@1956 | 24 compile_rules() |
erjo@1956 | 25 { |
erjo@1956 | 26 cd $src |
erjo@1956 | 27 make |
erjo@1956 | 28 } |
erjo@1956 | 29 |
erjo@1956 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1956 | 31 genpkg_rules() |
erjo@1956 | 32 { |
erjo@1956 | 33 mkdir -p $fs/usr/bin \ |
erjo@1956 | 34 $fs/usr/share/xrick |
erjo@1956 | 35 |
erjo@1956 | 36 cp -a $src/$PACKAGE $fs/usr/bin |
erjo@1956 | 37 cp -a $src/data.zip $fs/usr/share/xrick |
erjo@1956 | 38 cp -a $src/KeyCodes $fs/usr/share/xrick |
erjo@1956 | 39 } |
erjo@1956 | 40 |