wok-current annotate tuxpaint/receipt @ rev 23994

linld: no initrd fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 15 08:41:50 2020 +0000 (2020-12-15)
parents 600aaedb561d
children d77c5aa90982
rev   line source
pankso@12729 1 # SliTaz package receipt.
pankso@12729 2
pankso@12729 3 PACKAGE="tuxpaint"
Hans-G?nter@22059 4 VERSION="0.9.23"
pankso@12729 5 CATEGORY="graphics"
Hans-G?nter@22059 6 SHORT_DESC="Drawing program designed for young children."
pankso@12729 7 MAINTAINER="pankso@slitaz.org"
pascal@15590 8 LICENSE="GPL2"
Hans-G?nter@22059 9 WEB_SITE="http://tuxpaint.org/"
Hans-G?nter@22059 10
pankso@12729 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@12729 12 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
pankso@12729 13
Hans-G?nter@22059 14 DEPENDS="cairo fribidi libpaper libpng librsvg libsdl-image libsdl-mixer \
Hans-G?nter@22059 15 libsdl-pango libsdl-ttf python"
Hans-G?nter@22059 16 BUILD_DEPENDS="cairo-dev fribidi-dev gperf kdelibs libpaper-dev libpng-dev
Hans-G?nter@22059 17 libQtSvg librsvg-dev libsdl-dev libsdl-image-dev libsdl-mixer-dev
Hans-G?nter@22059 18 libsdl-pango-dev libsdl-ttf-dev python-dev"
pankso@12729 19
pankso@12729 20 # Rules to configure and make the package.
pankso@12729 21 compile_rules()
pankso@12729 22 {
pankso@12729 23 sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
Hans-G?nter@22059 24
Hans-G?nter@22059 25 make PREFIX=/usr &&
pankso@12729 26 make PREFIX=/usr DESTDIR=$DESTDIR install
pankso@12729 27 }
pankso@12729 28
pankso@12729 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12729 30 genpkg_rules()
pankso@12729 31 {
pankso@12729 32 mkdir -p $fs/usr/share
Hans-G?nter@22059 33
Hans-G?nter@22059 34 cp -a $install/etc $fs
Hans-G?nter@22059 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22059 36 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22059 37 cp -a $install/usr/share/tuxpaint $fs/usr/share
pankso@12729 38 }