wok view tuxpaint/receipt @ rev 14207

w3m: config receipt to use patches
author Richard Dunbar <mojo@slitaz.org>
date Fri Mar 15 13:42:03 2013 +0000 (2013-03-15)
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 }