wok view ardour/receipt @ rev 9080

openerp-web: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 16:50:03 2011 +0100 (2011-03-04)
parents f2b02070f0af
children 7ba9895e1216
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 DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb aubio libsndfile
10 libsamplerate raptor fftw libxslt"
11 BUILD_DEPENDS="scons libboost-dev jack-audio-connection-kit-dev alsa-lib-dev liblo liblo-dev aubio-dev libxslt-dev libsndfile-dev ladspa-dev liblrdf-dev libart_lgpl-dev libusb-dev libsamplerate-dev curl-dev fftw-dev raptor-dev libgnomecanvas-dev pkg-config"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL"
14 TAGS="audio recorder mixer"
16 # Rules to configure and make the package.
18 compile_rules() {
19 cd $src
20 sed -i '/-O3/d' SConstruct
21 mkdir -p $PWD/_pkg
23 scons PREFIX=/usr \
24 NLS=1 \
25 FREEDESKTOP=0 \
26 SYSLIBS=0 \
27 VST=0 \
28 WIIMOTE=0 \
29 LV2=0 \
30 FREESOUND=1 \
31 LIBLO=1 \
32 AUBIO=1 \
33 TRANZPORT=1 \
34 DIST_LIBDIR=lib
36 scons PREFIX=/usr \
37 NLS=1 \
38 FREEDESKTOP=0 \
39 SYSLIBS=0 \
40 VST=0 \
41 WIIMOTE=0 \
42 LV2=0 \
43 FREESOUND=1 \
44 LIBLO=1 \
45 AUBIO=1 \
46 TRANZPORT=1 \
47 DIST_LIBDIR=lib \
48 DESTDIR=$PWD/_pkg install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
56 cp -a $_pkg/usr/bin $fs/usr
57 cp -a $_pkg/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
58 cp -a $_pkg/usr/share/ardour2 $fs/usr/share
60 }