SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "primateplunge"

# SliTaz package receipt.

PACKAGE="primateplunge"
VERSION="1.1"
CATEGORY="games"
SHORT_DESC="Primate plunge game"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="other"
WEB_SITE="https://www.aelius.com/primateplunge/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}$TARBALL"

DEPENDS="libsdl-mixer"
BUILD_DEPENDS="libsdl-mixer-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS && make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
    mkdir -p $fs/usr/share/licenses
    cp $src/COPYING $fs/usr/share/licenses/$PACKAGE
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)