wok-6.x view tuxpaint/receipt @ rev 23861
xvkbd: fix fetch,compile,and genpkg
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 01:26:32 2020 -0400 (2020-06-19) |
parents | 600aaedb561d |
children | d77c5aa90982 |
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 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 }