wok-next diff tuxpaint/receipt @ rev 12729

Add tuxpaint (we was missing him, at least my son :-)
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 05 19:00:56 2012 +0200 (2012-05-05)
parents
children 600aaedb561d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tuxpaint/receipt	Sat May 05 19:00:56 2012 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tuxpaint"
     1.7 +VERSION="0.9.21"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="Kid painting programm."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://tuxpaint.org/"
    1.13 +WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +DEPENDS="libpng fribidi librsvg cairo libsdl-mixer libsdl-pango libsdl-image \
    1.16 +libsdl-ttf libpaper python"
    1.17 +BUILD_DEPENDS="libpng-dev fribidi-dev librsvg-dev cairo-dev libsdl-dev \
    1.18 +libsdl-mixer-dev libsdl-pango-dev libsdl-image-dev libsdl-ttf-dev \
    1.19 +libpaper-dev python-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	cd $src
    1.25 +	sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
    1.26 +	make PREFIX=/usr
    1.27 +	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/share
    1.34 +	cp -a $install/etc $fs
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/lib $fs/usr
    1.37 +	cp -a $install/usr/share/tuxpaint $fs/usr/share
    1.38 +}