SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xscavenger"

# SliTaz package receipt.

PACKAGE="xscavenger"
VERSION="1.4.5"
CATEGORY="games"
SHORT_DESC="Lode Runner rewritten for X11."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.linuxmotors.com/linux/scavenger/"

TARBALL="$PACKAGE-$VERSION.tgz"
WGET_URL="https://www.linuxmotors.com/linux/scavenger/downloads/$TARBALL"

DEPENDS="alsa-lib xorg"
BUILD_DEPENDS="alsa-lib-dev xorg-imake xorg-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://www.linuxmotors.com/linux/scavenger/index.html 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src/src
    cp scavenger.6 scavenger.man
    xmkmf
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
    cp -a $stuff/*/ $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)