wok annotate non-studio/receipt @ rev 16622

mupdf: add debian patch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 09 07:59:54 2014 +0000 (2014-05-09)
parents 04916c01e7c9
children a6b997a82f39
rev   line source
pankso@16378 1 # SliTaz package receipt.
pankso@16378 2
pankso@16378 3 PACKAGE="non-studio"
pascal@16387 4 GITHASH="de7c7ae0b8ae33e06c9ebf31bcc4a97dfa614532"
pascal@16387 5 VERSION="${GITHASH:0:7}"
pankso@16378 6 CATEGORY="multimedia"
pankso@16378 7 SHORT_DESC="Complete studio, powerful, fast and light"
pankso@16378 8 MAINTAINER="pankso@slitaz.org"
pankso@16378 9 LICENSE="GPL3"
pascal@16387 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16378 11 WEB_SITE="http://non.tuxfamily.org"
pascal@16387 12 WGET_URL="http://git.tuxfamily.org/non/non/?p=non/non.git;a=snapshot;h=$GITHASH;sf=tgz"
pankso@16378 13
pankso@16378 14 DEPENDS="ntk libsndfile libsigc++ liblrdf liblo jack-audio-connection-kit \
pankso@16378 15 ladspa"
pankso@16378 16 BUILD_DEPENDS="ntk-dev libsndfile-dev libsigc++-dev liblrdf-dev liblo-dev \
pankso@16378 17 jack-audio-connection-kit-dev ladspa-dev"
pankso@16378 18
pankso@16378 19 # Handle cross compilation
pankso@16378 20 case "$ARCH" in
pankso@16378 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS git python"
pankso@16378 22 esac
pankso@16378 23
pankso@16378 24 # Rules to configure and make the package. --project=mixer
pankso@16378 25 compile_rules()
pankso@16378 26 {
pankso@16378 27 ./waf configure --prefix=/usr &&
pankso@16378 28 ./waf build &&
pankso@16378 29 ./waf install --destdir=${DESTDIR}
pankso@16378 30 }
pankso@16378 31
pankso@16378 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16378 33 genpkg_rules()
pankso@16378 34 {
pankso@16378 35 mkdir -p $fs/usr/share/icons/hicolor
pankso@16378 36 cp -a $install/usr/bin $fs/usr
pankso@16378 37 cp -a $install/usr/share/non-* $fs/usr/share
pankso@16378 38 cp -a $install/usr/share/icons/hicolor/32x32 \
pankso@16378 39 $fs/usr/share/icons/hicolor
pankso@16378 40 }