wok-6.x annotate ardour/receipt @ rev 11455

groff: pack /usr/share files to the correct path
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:42:21 2011 +0100 (2011-12-17)
parents 7ba9895e1216
children d3a1409d31fa
rev   line source
jozee@6828 1 # SliTaz package receipt.
jozee@6828 2
jozee@6828 3 PACKAGE="ardour"
slaxemulator@7517 4 VERSION="2.8.11"
jozee@6828 5 CATEGORY="multimedia"
jozee@6828 6 MAINTAINER="jozee@slitaz.org"
jozee@6828 7 SHORT_DESC="A multichannel hard disk recorder and digital audio workstation"
jozee@6828 8 WEB_SITE="http://ardour.org"
jozee@6828 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@6828 10 WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL"
jozee@6828 11 TAGS="audio recorder mixer"
jozee@6828 12
erjo@9906 13 DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile
erjo@9906 14 libsamplerate raptor fftw libxslt"
erjo@9906 15 BUILD_DEPENDS="scons libboost-dev jack-audio-connection-kit-dev alsa-lib-dev \
erjo@9906 16 liblo liblo-dev aubio-dev libxslt-dev libsndfile-dev ladspa-dev liblrdf-dev \
erjo@9906 17 libart_lgpl-dev libusb-dev libsamplerate-dev curl-dev fftw-dev \
erjo@9906 18 raptor-dev libgnomecanvas-dev pkg-config liblrdf-dev"
erjo@9906 19
jozee@6828 20 # Rules to configure and make the package.
jozee@6828 21
jozee@6828 22 compile_rules() {
jozee@6828 23 cd $src
jozee@6828 24 sed -i '/-O3/d' SConstruct
jozee@6828 25 mkdir -p $PWD/_pkg
jozee@6828 26
jozee@6828 27 scons PREFIX=/usr \
jozee@6828 28 NLS=1 \
jozee@6828 29 FREEDESKTOP=0 \
jozee@6828 30 SYSLIBS=0 \
jozee@6828 31 VST=0 \
jozee@6828 32 WIIMOTE=0 \
jozee@6828 33 LV2=0 \
jozee@6828 34 FREESOUND=1 \
jozee@6828 35 LIBLO=1 \
jozee@6828 36 AUBIO=1 \
jozee@6828 37 TRANZPORT=1 \
jozee@6828 38 DIST_LIBDIR=lib
jozee@6828 39
jozee@6828 40 scons PREFIX=/usr \
jozee@6828 41 NLS=1 \
jozee@6828 42 FREEDESKTOP=0 \
jozee@6828 43 SYSLIBS=0 \
jozee@6828 44 VST=0 \
jozee@6828 45 WIIMOTE=0 \
jozee@6828 46 LV2=0 \
jozee@6828 47 FREESOUND=1 \
jozee@6828 48 LIBLO=1 \
jozee@6828 49 AUBIO=1 \
jozee@6828 50 TRANZPORT=1 \
jozee@6828 51 DIST_LIBDIR=lib \
jozee@6828 52 DESTDIR=$PWD/_pkg install
jozee@6828 53
jozee@6828 54 }
jozee@6828 55
jozee@6828 56 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6828 57 genpkg_rules()
jozee@6828 58 {
jozee@6828 59 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
jozee@6828 60 cp -a $_pkg/usr/bin $fs/usr
jozee@6828 61 cp -a $_pkg/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
jozee@6828 62 cp -a $_pkg/usr/share/ardour2 $fs/usr/share
jozee@6828 63
jozee@6828 64 }