wok-6.x annotate xscavenger/receipt @ rev 25514
Add memtest64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 14:18:05 2023 +0000 (23 months ago) |
parents | 7c0170dd3ecc |
children |
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@24976 | 9 WEB_SITE="https://www.linuxmotors.com/linux/scavenger/" |
Hans-G?nter@22308 | 10 |
pascal@13734 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@24976 | 12 WGET_URL="https://www.linuxmotors.com/linux/scavenger/downloads/$TARBALL" |
pascal@13734 | 13 |
Hans-G?nter@22308 | 14 DEPENDS="alsa-lib xorg" |
Hans-G?nter@22308 | 15 BUILD_DEPENDS="alsa-lib-dev xorg-imake xorg-dev" |
pascal@13734 | 16 |
pascal@24535 | 17 # What is the latest version available today? |
pascal@24535 | 18 current_version() |
pascal@24535 | 19 { |
pascal@24535 | 20 wget -O - https://www.linuxmotors.com/linux/scavenger/index.html 2>/dev/null | \ |
pascal@24535 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q |
pascal@24535 | 22 } |
pascal@24535 | 23 |
pascal@13734 | 24 # Rules to configure and make the package. |
pascal@13734 | 25 compile_rules() |
pascal@13734 | 26 { |
pascal@13734 | 27 cd $src/src |
pascal@13734 | 28 cp scavenger.6 scavenger.man |
pascal@13734 | 29 xmkmf |
Hans-G?nter@22308 | 30 make && |
Hans-G?nter@22308 | 31 make DESTDIR=$DESTDIR install |
pascal@13734 | 32 } |
pascal@13734 | 33 |
pascal@13734 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13734 | 35 genpkg_rules() |
pascal@13734 | 36 { |
pascal@13734 | 37 cp -a $install/usr $fs |
pascal@13737 | 38 cp -a $stuff/*/ $fs |
pascal@13734 | 39 } |