wok view tuxpaint/receipt @ rev 24017

tuxpaint: no parallel make
author Hans-G?nter Theisgen
date Sat Feb 27 15:07:25 2021 +0100 (2021-02-27)
parents 11eb733f5965
children 4bae0fb81a17
line source
1 # SliTaz package receipt.
3 PACKAGE="tuxpaint"
4 VERSION="0.9.23"
5 CATEGORY="graphics"
6 SHORT_DESC="Drawing program designed for young children."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://tuxpaint.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
14 DEPENDS="cairo fribidi libpaper libpng librsvg libsdl-image libsdl-mixer \
15 libsdl-pango libsdl-ttf python"
16 BUILD_DEPENDS="cairo-dev fribidi-dev gperf kdelibs libpaper-dev libpng-dev
17 libQtSvg librsvg-dev libsdl-dev libsdl-image-dev libsdl-mixer-dev
18 libsdl-pango-dev libsdl-ttf-dev python-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
25 make -j1 PREFIX=/usr &&
26 make PREFIX=/usr DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
34 cp -a $install/etc $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/tuxpaint $fs/usr/share
38 }