wok view libt4k_common/receipt @ rev 24509
updated edid-decode (fork-point-4 -> fork-point-5)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 17:31:17 2022 +0100 (2022-02-20) |
parents | eeba7ab1dffe |
children | affc6fdda56c |
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://alioth.debian.org/frs/download.php/3540/$TARBALL"
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 }