wok view libt4k_common/receipt @ rev 25012

Up python-xmlutils (1.4.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 16 19:42:25 2022 +0000 (23 months ago)
parents b569b85b0fb9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libt4k_common"
4 VERSION="0.1.1"
5 CATEGORY="games"
6 SHORT_DESC="Common libraries for tux4kids games."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/tux4kids/t4kcommon"
10 SOURCE="t4k_common"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/tux4kids/t4kcommon/archive/refs/tags/upstream/$VERSION.tar.gz"
14 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf libsdl-net librsvg \
15 libsdl-pango"
16 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev \
17 libsdl-net-dev librsvg-dev libsdl-pango-dev wget libxml2-dev libcroco-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/lib/*so* $fs/usr/lib
39 cp -ar $install/usr/share/* $fs/usr/share
40 }