wok-6.x annotate libt4k_common/receipt @ rev 18333

Add mfoc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 09 15:41:29 2015 +0200 (2015-09-09)
parents e30853402e1d
children b1b4124be3fb
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"
samuel_trassare@11759 9 WEB_SITE="http://tux4kids.alioth.debian.org"
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@13763 17 libsdl-net-dev librsvg-dev libsdl-pango-dev wget libxml2-dev"
samuel_trassare@11759 18
samuel_trassare@11759 19 # Rules to configure and make the package.
samuel_trassare@11759 20 compile_rules()
samuel_trassare@11759 21 {
gokhlayeh@11965 22 ./configure $CONFIGURE_ARGS &&
gokhlayeh@11965 23 make &&
samuel_trassare@11759 24 make install
samuel_trassare@11759 25 }
samuel_trassare@11759 26
samuel_trassare@11759 27 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11759 28 genpkg_rules()
samuel_trassare@11759 29 {
gokhlayeh@11965 30 mkdir -p $fs/usr/lib $fs/usr/share
samuel_trassare@11759 31 cp -a $install/usr/lib/*so* $fs/usr/lib
samuel_trassare@11759 32 cp -ar $install/usr/share/* $fs/usr/share
samuel_trassare@11759 33 }