SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "openttd-opengfx"

# SliTaz package receipt.

PACKAGE="openttd-opengfx"
VERSION="0.3.3"
CATEGORY="games"
SHORT_DESC="OpenGFX data files for OpenTTD."
MAINTAINER="devl547@gmail.com"
LICENSE="GPL2"
SOURCE="opengfx"
TARBALL="$SOURCE-$VERSION.zip"
WEB_SITE="http://bundles.openttdcoop.org/opengfx/"
WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
PROVIDE="opengfx"

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

# Rules to configure and make the package.
compile_rules()
{
    cd $src
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/games/openttd/data
    cp $src/*.grf $fs/usr/share/games/openttd/data
    cp $src/opengfx.obg $fs/usr/share/games/openttd/data
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)