wok view ardour/receipt @ rev 12795

slitaz-base-files: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 09:43:02 2012 +0200 (2012-05-18)
parents 6a08dab7492f
children 6292059c6dad
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.
21 compile_rules() {
22 cd $src
23 sed -i '/-O3/d' SConstruct
24 mkdir -p $PWD/_pkg
26 scons PREFIX=/usr \
27 NLS=1 \
28 FREEDESKTOP=0 \
29 SYSLIBS=0 \
30 VST=0 \
31 WIIMOTE=0 \
32 LV2=0 \
33 FREESOUND=1 \
34 LIBLO=1 \
35 AUBIO=1 \
36 TRANZPORT=1 \
37 DIST_LIBDIR=lib
39 scons PREFIX=/usr \
40 NLS=1 \
41 FREEDESKTOP=0 \
42 SYSLIBS=0 \
43 VST=0 \
44 WIIMOTE=0 \
45 LV2=0 \
46 FREESOUND=1 \
47 LIBLO=1 \
48 AUBIO=1 \
49 TRANZPORT=1 \
50 DIST_LIBDIR=lib \
51 DESTDIR=$PWD/_pkg install
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
59 cp -a $_pkg/usr/bin $fs/usr
60 cp -a $_pkg/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
61 cp -a $_pkg/usr/share/ardour2 $fs/usr/share
63 }