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

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