wok-6.x annotate tuxpaint/receipt @ rev 13732

Add firmware-rtlwifi
author Richard Dunbar <mojo@slitaz.org>
date Sun Dec 23 17:59:51 2012 +0000 (2012-12-23)
parents
children 600aaedb561d
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"
pankso@12729 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@12729 9 WEB_SITE="http://tuxpaint.org/"
pankso@12729 10 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
pankso@12729 11
pankso@12729 12 DEPENDS="libpng fribidi librsvg cairo libsdl-mixer libsdl-pango libsdl-image \
pankso@12729 13 libsdl-ttf libpaper python"
pankso@12729 14 BUILD_DEPENDS="libpng-dev fribidi-dev librsvg-dev cairo-dev libsdl-dev \
pankso@12729 15 libsdl-mixer-dev libsdl-pango-dev libsdl-image-dev libsdl-ttf-dev \
pankso@12729 16 libpaper-dev python-dev"
pankso@12729 17
pankso@12729 18 # Rules to configure and make the package.
pankso@12729 19 compile_rules()
pankso@12729 20 {
pankso@12729 21 cd $src
pankso@12729 22 sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
pankso@12729 23 make PREFIX=/usr
pankso@12729 24 make PREFIX=/usr DESTDIR=$DESTDIR install
pankso@12729 25 }
pankso@12729 26
pankso@12729 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12729 28 genpkg_rules()
pankso@12729 29 {
pankso@12729 30 mkdir -p $fs/usr/share
pankso@12729 31 cp -a $install/etc $fs
pankso@12729 32 cp -a $install/usr/bin $fs/usr
pankso@12729 33 cp -a $install/usr/lib $fs/usr
pankso@12729 34 cp -a $install/usr/share/tuxpaint $fs/usr/share
pankso@12729 35 }