wok rev 11759

added libt4kcommon. Supports tux4kids games
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 22 12:21:48 2012 -0800 (2012-02-22)
parents 85efaaf0bef2
children 0b2b9d1540d7
files libt4k_common-dev/receipt libt4k_common/description.txt libt4k_common/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libt4k_common-dev/receipt	Wed Feb 22 12:21:48 2012 -0800
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libt4k_common-dev"
     1.7 +VERSION="0.1.1"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Common libraries for tux4kids games."
    1.10 +MAINTAINER="samuel_trassare@yahoo.com"
    1.11 +WEB_SITE="http://tux4kids.alioth.debian.org"
    1.12 +WANTED="libt4k_common"
    1.13 +
    1.14 +DEPENDS="libt4k_common"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/include \
    1.20 +		$fs/usr/lib/pkgconfig 
    1.21 +	cp -a $install/usr/include/* $fs/usr/include
    1.22 +	cp -a $install/usr/lib/*a* $fs/usr/lib
    1.23 +	cp -a $install/usr/lib/pkgconfig/* $fs/usr/lib/pkgconfig
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libt4k_common/description.txt	Wed Feb 22 12:21:48 2012 -0800
     2.3 @@ -0,0 +1,1 @@
     2.4 +Tux4kids is a collection of high-quality educational software for kids.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libt4k_common/receipt	Wed Feb 22 12:21:48 2012 -0800
     3.3 @@ -0,0 +1,34 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libt4k_common"
     3.7 +VERSION="0.1.1"
     3.8 +CATEGORY="games"
     3.9 +SHORT_DESC="Common libraries for tux4kids games."
    3.10 +MAINTAINER="samuel_trassare@yahoo.com"
    3.11 +WEB_SITE="http://tux4kids.alioth.debian.org"
    3.12 +SOURCE="t4k_common"
    3.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    3.14 +WGET_URL="https://alioth.debian.org/frs/download.php/3540/$TARBALL"
    3.15 +
    3.16 +DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf libsdl-net librsvg \
    3.17 +libsdl-pango"
    3.18 +BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev \
    3.19 +libsdl-net-dev librsvg-dev libsdl-pango-dev"
    3.20 +
    3.21 +# Rules to configure and make the package.
    3.22 +compile_rules()
    3.23 +{
    3.24 +	./configure \
    3.25 +		$CONFIGURE_ARGS && 
    3.26 +	make && 
    3.27 +	make install
    3.28 +}
    3.29 +
    3.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.31 +genpkg_rules()
    3.32 +{
    3.33 +	mkdir -p $fs/usr/lib \
    3.34 +		$fs/usr/share
    3.35 +	cp -a $install/usr/lib/*so* $fs/usr/lib
    3.36 +	cp -ar $install/usr/share/* $fs/usr/share
    3.37 +}