wok annotate tuxpaint/receipt @ rev 18424

rtaudio: rece condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 11:30:33 2015 +0200 (2015-09-21)
parents 47d7b746c68b
children 11eb733f5965
rev   line source
pankso@12729 1 # SliTaz package receipt.
pankso@12729 2
pankso@12729 3 PACKAGE="tuxpaint"
pankso@12729 4 VERSION="0.9.21"
pankso@12729 5 CATEGORY="graphics"
pankso@12729 6 SHORT_DESC="Kid painting programm."
pankso@12729 7 MAINTAINER="pankso@slitaz.org"
pascal@15590 8 LICENSE="GPL2"
pankso@12729 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@12729 10 WEB_SITE="http://tuxpaint.org/"
pankso@12729 11 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
pankso@12729 12
pankso@12729 13 DEPENDS="libpng fribidi librsvg cairo libsdl-mixer libsdl-pango libsdl-image \
pankso@12729 14 libsdl-ttf libpaper python"
pankso@12729 15 BUILD_DEPENDS="libpng-dev fribidi-dev librsvg-dev cairo-dev libsdl-dev \
pankso@12729 16 libsdl-mixer-dev libsdl-pango-dev libsdl-image-dev libsdl-ttf-dev \
pankso@12729 17 libpaper-dev python-dev"
pankso@12729 18
pankso@12729 19 # Rules to configure and make the package.
pankso@12729 20 compile_rules()
pankso@12729 21 {
pankso@12729 22 cd $src
pankso@12729 23 sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
pankso@12729 24 make PREFIX=/usr
pankso@12729 25 make PREFIX=/usr DESTDIR=$DESTDIR install
pankso@12729 26 }
pankso@12729 27
pankso@12729 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12729 29 genpkg_rules()
pankso@12729 30 {
pankso@12729 31 mkdir -p $fs/usr/share
pankso@12729 32 cp -a $install/etc $fs
pankso@12729 33 cp -a $install/usr/bin $fs/usr
pankso@12729 34 cp -a $install/usr/lib $fs/usr
pankso@12729 35 cp -a $install/usr/share/tuxpaint $fs/usr/share
pankso@12729 36 }