SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "barrage"

# SliTaz package receipt.

PACKAGE="barrage"
VERSION="1.0.5"
CATEGORY="games"
SHORT_DESC="Practice artillery nondestructive"
MAINTAINER="René Rivero <arca1085@gmail.com>"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://lgames.sourceforge.net/Barrage/"
WGET_URL="https://ufpr.dl.sourceforge.net/project/lgames/$PACKAGE/$TARBALL"

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

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/lgames/files/barrage/ 2>/dev/null | \
    sed '/scope="row/!d;/tar/!d;s|.*/barrage-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --localstatedir=/var/games && make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/share $fs/usr
    cp -a $install/var $fs
    cp -a $install/usr/bin $fs/usr
    cp $install/usr/share/icons $fs/usr/share
    chown -R root.root $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)