wok view ardour/receipt @ rev 10599

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