wok view tuxpaint/receipt @ rev 13569

Add blazekiss
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 03 16:17:38 2012 +0100 (2012-11-03)
parents
children 600aaedb561d
line source
1 # SliTaz package receipt.
3 PACKAGE="tuxpaint"
4 VERSION="0.9.21"
5 CATEGORY="graphics"
6 SHORT_DESC="Kid painting programm."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://tuxpaint.org/"
10 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
12 DEPENDS="libpng fribidi librsvg cairo libsdl-mixer libsdl-pango libsdl-image \
13 libsdl-ttf libpaper python"
14 BUILD_DEPENDS="libpng-dev fribidi-dev librsvg-dev cairo-dev libsdl-dev \
15 libsdl-mixer-dev libsdl-pango-dev libsdl-image-dev libsdl-ttf-dev \
16 libpaper-dev python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
23 make PREFIX=/usr
24 make PREFIX=/usr DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/etc $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cp -a $install/usr/share/tuxpaint $fs/usr/share
35 }