wok-current annotate libt4k_common/receipt @ rev 11965

tazwok compat: add wget as libt4k_common bdep (https $WGET_URL)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 02 15:32:28 2012 +0100 (2012-03-02)
parents 67ce1202c916
children e30853402e1d
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"
samuel_trassare@11759 8 WEB_SITE="http://tux4kids.alioth.debian.org"
samuel_trassare@11759 9 SOURCE="t4k_common"
samuel_trassare@11759 10 TARBALL="$SOURCE-$VERSION.tar.gz"
samuel_trassare@11759 11 WGET_URL="https://alioth.debian.org/frs/download.php/3540/$TARBALL"
samuel_trassare@11759 12
samuel_trassare@11759 13 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf libsdl-net librsvg \
samuel_trassare@11759 14 libsdl-pango"
samuel_trassare@11759 15 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev \
gokhlayeh@11965 16 libsdl-net-dev librsvg-dev libsdl-pango-dev wget"
samuel_trassare@11759 17
samuel_trassare@11759 18 # Rules to configure and make the package.
samuel_trassare@11759 19 compile_rules()
samuel_trassare@11759 20 {
gokhlayeh@11965 21 ./configure $CONFIGURE_ARGS &&
gokhlayeh@11965 22 make &&
samuel_trassare@11759 23 make install
samuel_trassare@11759 24 }
samuel_trassare@11759 25
samuel_trassare@11759 26 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11759 27 genpkg_rules()
samuel_trassare@11759 28 {
gokhlayeh@11965 29 mkdir -p $fs/usr/lib $fs/usr/share
samuel_trassare@11759 30 cp -a $install/usr/lib/*so* $fs/usr/lib
samuel_trassare@11759 31 cp -ar $install/usr/share/* $fs/usr/share
samuel_trassare@11759 32 }