SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xbattle"

# SliTaz package receipt.

PACKAGE="xbattle"
VERSION="5.4.1"
CATEGORY="games"
SHORT_DESC="Concurrent multi-player battle strategy game for X11."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="other"
WEB_SITE="https://web.archive.org/web/20011128105604/http://cns-web.bu.edu/pub/xpip/html/xbattle.html"
TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
WGET_URL="http://old-releases.ubuntu.com/ubuntu/pool/universe/x/$PACKAGE/$TARBALL"
SUGGESTED="xorg-xhost"

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

# What is the latest version available today?
current_version()
{
    wget -O - https://raw.githubusercontent.com/mikemayer67/xbattle/master/README 2>/dev/null | \
    sed '/^XBATTLE/!d;s|XBATTLE ||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    patch -p0 < $stuff/pseudo_color.u
    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)