wok view xscavenger/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 2024 +0100 (7 months ago)
parents 7c0170dd3ecc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xscavenger"
4 VERSION="1.4.5"
5 CATEGORY="games"
6 SHORT_DESC="Lode Runner rewritten for X11."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.linuxmotors.com/linux/scavenger/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="https://www.linuxmotors.com/linux/scavenger/downloads/$TARBALL"
14 DEPENDS="alsa-lib xorg"
15 BUILD_DEPENDS="alsa-lib-dev xorg-imake xorg-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://www.linuxmotors.com/linux/scavenger/index.html 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/src
28 cp scavenger.6 scavenger.man
29 xmkmf
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 cp -a $stuff/*/ $fs
39 }