SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libt4k_common"

# SliTaz package receipt.

PACKAGE="libt4k_common"
VERSION="0.1.1"
CATEGORY="games"
SHORT_DESC="Common libraries for tux4kids games."
MAINTAINER="samuel_trassare@yahoo.com"
LICENSE="GPL3"
WEB_SITE="https://github.com/tux4kids/t4kcommon"
SOURCE="t4k_common"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://github.com/tux4kids/t4kcommon/archive/refs/tags/upstream/$VERSION.tar.gz"

DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf libsdl-net librsvg \
libsdl-pango"
BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev \
libsdl-net-dev librsvg-dev libsdl-pango-dev wget libxml2-dev libcroco-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;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()
{
    mkdir -p $fs/usr/lib $fs/usr/share
    cp -a $install/usr/lib/*so* $fs/usr/lib
    cp -ar $install/usr/share/* $fs/usr/share
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)