SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ascii-patrol"

# SliTaz package receipt.

PACKAGE="ascii-patrol"
VERSION="1.7"
CATEGORY="games"
SHORT_DESC="ASCII clone of Moon Patrol"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/msokalski/ascii-patrol"
WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"

DEPENDS="curl xorg-libX11 pulseaudio xorg-libXi"
BUILD_DEPENDS="xorg-libX11-dev pulseaudio-dev xorg-libXi-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sh build.sh
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/asciipat $fs/usr/bin
}
6000 packages and 861291 files in cooking database (Thu Sep 26 09:00:56 2024)