wok view tuxpaint/receipt @ rev 17057

syslinux/c32box: x86_64 auto select
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 21 09:56:57 2014 +0200 (2014-08-21)
parents 47d7b746c68b
children 11eb733f5965
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tuxpaint.org/"
11 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
13 DEPENDS="libpng fribidi librsvg cairo libsdl-mixer libsdl-pango libsdl-image \
14 libsdl-ttf libpaper python"
15 BUILD_DEPENDS="libpng-dev fribidi-dev librsvg-dev cairo-dev libsdl-dev \
16 libsdl-mixer-dev libsdl-pango-dev libsdl-image-dev libsdl-ttf-dev \
17 libpaper-dev python-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
24 make PREFIX=/usr
25 make PREFIX=/usr DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/etc $fs
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share/tuxpaint $fs/usr/share
36 }