wok annotate xscavenger/receipt @ rev 24918
updated moosefs (3.0.111 -> 3.0.116)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 10 06:58:04 2022 +0100 (2022-04-10) |
parents | f785404cbaa7 |
children | 1805f71c5d9f |
rev | line source |
---|---|
pascal@13734 | 1 # SliTaz package receipt. |
pascal@13734 | 2 |
pascal@13734 | 3 PACKAGE="xscavenger" |
Hans-G?nter@22308 | 4 VERSION="1.4.5" |
pascal@13734 | 5 CATEGORY="games" |
pascal@13734 | 6 SHORT_DESC="Lode Runner rewritten for X11." |
pascal@13734 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL2" |
pascal@23725 | 9 WEB_SITE="https://web.archive.org/web/20140331111504/http://www.xdr.com/dash/scavenger.html" |
Hans-G?nter@22308 | 10 |
pascal@13734 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20572 | 12 ARCHIVE="https://web.archive.org/web/20120609005153if_/" |
pascal@20572 | 13 WGET_URL="${ARCHIVE}$(dirname $WEB_SITE)/$TARBALL" |
Hans-G?nter@22308 | 14 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
pascal@13734 | 15 |
Hans-G?nter@22308 | 16 DEPENDS="alsa-lib xorg" |
Hans-G?nter@22308 | 17 BUILD_DEPENDS="alsa-lib-dev xorg-imake xorg-dev" |
pascal@13734 | 18 |
pascal@24535 | 19 # What is the latest version available today? |
pascal@24535 | 20 current_version() |
pascal@24535 | 21 { |
pascal@24535 | 22 wget -O - https://www.linuxmotors.com/linux/scavenger/index.html 2>/dev/null | \ |
pascal@24535 | 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q |
pascal@24535 | 24 } |
pascal@24535 | 25 |
pascal@13734 | 26 # Rules to configure and make the package. |
pascal@13734 | 27 compile_rules() |
pascal@13734 | 28 { |
pascal@13734 | 29 cd $src/src |
pascal@13734 | 30 cp scavenger.6 scavenger.man |
pascal@13734 | 31 xmkmf |
Hans-G?nter@22308 | 32 make && |
Hans-G?nter@22308 | 33 make DESTDIR=$DESTDIR install |
pascal@13734 | 34 } |
pascal@13734 | 35 |
pascal@13734 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13734 | 37 genpkg_rules() |
pascal@13734 | 38 { |
pascal@13734 | 39 cp -a $install/usr $fs |
pascal@13737 | 40 cp -a $stuff/*/ $fs |
pascal@13734 | 41 } |