wok-current annotate libt4k_common/receipt @ rev 24918
updated moosefs (3.0.111 -> 3.0.116)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 10 06:58:04 2022 +0100 (2022-04-10) |
parents | eeba7ab1dffe |
children | affc6fdda56c |
rev | line source |
---|---|
samuel_trassare@11759 | 1 # SliTaz package receipt. |
samuel_trassare@11759 | 2 |
samuel_trassare@11759 | 3 PACKAGE="libt4k_common" |
samuel_trassare@11759 | 4 VERSION="0.1.1" |
samuel_trassare@11759 | 5 CATEGORY="games" |
samuel_trassare@11759 | 6 SHORT_DESC="Common libraries for tux4kids games." |
samuel_trassare@11759 | 7 MAINTAINER="samuel_trassare@yahoo.com" |
pascal@14718 | 8 LICENSE="GPL3" |
pascal@20674 | 9 WEB_SITE="https://github.com/tux4kids/t4kcommon" |
samuel_trassare@11759 | 10 SOURCE="t4k_common" |
samuel_trassare@11759 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
samuel_trassare@11759 | 12 WGET_URL="https://alioth.debian.org/frs/download.php/3540/$TARBALL" |
samuel_trassare@11759 | 13 |
samuel_trassare@11759 | 14 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf libsdl-net librsvg \ |
samuel_trassare@11759 | 15 libsdl-pango" |
samuel_trassare@11759 | 16 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev \ |
pascal@19728 | 17 libsdl-net-dev librsvg-dev libsdl-pango-dev wget libxml2-dev libcroco-dev" |
samuel_trassare@11759 | 18 |
pascal@24308 | 19 # What is the latest version available today? |
pascal@24308 | 20 current_version() |
pascal@24308 | 21 { |
pascal@24308 | 22 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 24 } |
pascal@24308 | 25 |
samuel_trassare@11759 | 26 # Rules to configure and make the package. |
samuel_trassare@11759 | 27 compile_rules() |
samuel_trassare@11759 | 28 { |
gokhlayeh@11965 | 29 ./configure $CONFIGURE_ARGS && |
gokhlayeh@11965 | 30 make && |
samuel_trassare@11759 | 31 make install |
samuel_trassare@11759 | 32 } |
samuel_trassare@11759 | 33 |
samuel_trassare@11759 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@11759 | 35 genpkg_rules() |
samuel_trassare@11759 | 36 { |
gokhlayeh@11965 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
samuel_trassare@11759 | 38 cp -a $install/usr/lib/*so* $fs/usr/lib |
samuel_trassare@11759 | 39 cp -ar $install/usr/share/* $fs/usr/share |
samuel_trassare@11759 | 40 } |