wok-6.x view ardour/receipt @ rev 18195

Up tazpanel (505)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 12 13:20:03 2015 +0200 (2015-07-12)
parents 380ffe05937a
children 04d824c95283
line source
1 # SliTaz package receipt.
3 PACKAGE="ardour"
4 VERSION="2.8.14"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A multichannel hard disk recorder and digital audio workstation"
9 WEB_SITE="http://ardour.org"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL"
12 TAGS="audio recorder mixer"
14 DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile
15 libsamplerate raptor fftw libxslt libgnomecanvasmm soundtouch"
16 BUILD_DEPENDS="scons libboost-dev libboost-thread-dev libboost-math-dev \
17 jack-audio-connection-kit-dev alsa-lib-dev liblo-dev aubio-dev libxslt-dev \
18 libsndfile-dev ladspa-dev liblrdf-dev libart_lgpl-dev libusb-dev \
19 libsamplerate-dev curl-dev fftw-dev soundtouch-dev raptor-dev \
20 libgnomecanvasmm-dev libgnomecanvas-dev pkg-config liblrdf-dev gtkmm-dev \
21 libboost-system-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 sed -i '/-O3/d' SConstruct
28 mkdir -p $DESTDIR
30 CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system"
31 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
32 PREFIX=/usr \
33 NLS=1 \
34 FREEDESKTOP=0 \
35 SYSLIBS=1 \
36 VST=0 \
37 WIIMOTE=0 \
38 LV2=0 \
39 FREESOUND=1 \
40 LIBLO=1 \
41 AUBIO=1 \
42 TRANZPORT=1 \
43 DIST_LIBDIR=lib
45 scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
46 PREFIX=/usr \
47 NLS=1 \
48 FREEDESKTOP=0 \
49 SYSLIBS=1 \
50 VST=0 \
51 WIIMOTE=0 \
52 LV2=0 \
53 FREESOUND=1 \
54 LIBLO=1 \
55 AUBIO=1 \
56 TRANZPORT=1 \
57 DIST_LIBDIR=lib \
58 DESTDIR=$DESTDIR install
60 }
62 # Rules to gen a SliTaz package suitable for Tazpkg.
63 genpkg_rules()
64 {
65 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
66 cp -a $install/usr/bin $fs/usr
67 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
68 cp -a $install/usr/share/ardour2 $fs/usr/share
70 }