wok diff ardour/receipt @ rev 7001

glew: pack devel files separately
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Oct 31 15:40:47 2010 +0100 (2010-10-31)
parents
children 5fec12f7b3c8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ardour/receipt	Sun Oct 31 15:40:47 2010 +0100
     1.3 @@ -0,0 +1,59 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ardour"
     1.7 +VERSION="2.8.7"
     1.8 +CATEGORY="multimedia"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="A multichannel hard disk recorder and digital audio workstation"
    1.11 +WEB_SITE="http://ardour.org"
    1.12 +DEPENDS="liblrdf ladspa libgnomecanvasmm liblo libusb aubio libsndfile"
    1.13 +BUILD_DEPENDS="scons libboost-dev jack-audio-connection-kit-dev jack-audio-connection-kit alsa-lib-dev liblo liblo-dev aubio-dev libsndfile-dev ladspa-dev liblrdf-dev libart_lgpl-dev libusb-dev"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL"
    1.16 +TAGS="audio recorder mixer"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules() {
    1.21 +  cd $src
    1.22 +  sed -i '/-O3/d' SConstruct 
    1.23 +  mkdir -p $PWD/_pkg
    1.24 +  
    1.25 +  scons PREFIX=/usr 	\
    1.26 +		NLS=1 \
    1.27 +		FREEDESKTOP=0 \
    1.28 +		SYSLIBS=0 \
    1.29 +		VST=0 \
    1.30 +		WIIMOTE=0 \
    1.31 +		LV2=0 \
    1.32 +		FREESOUND=1 \
    1.33 +		LIBLO=1 \
    1.34 +		AUBIO=1 \
    1.35 +		TRANZPORT=1 \
    1.36 +		DIST_LIBDIR=lib 
    1.37 +			
    1.38 +  scons PREFIX=/usr \
    1.39 +		NLS=1 \
    1.40 +		FREEDESKTOP=0 \
    1.41 +		SYSLIBS=0 \
    1.42 +		VST=0 \
    1.43 +		WIIMOTE=0 \
    1.44 +		LV2=0 \
    1.45 +		FREESOUND=1 \
    1.46 +		LIBLO=1 \
    1.47 +		AUBIO=1 \
    1.48 +		TRANZPORT=1 \
    1.49 +		DIST_LIBDIR=lib \
    1.50 +		DESTDIR=$PWD/_pkg install 
    1.51 +
    1.52 +}
    1.53 +
    1.54 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.55 +genpkg_rules()
    1.56 +{
    1.57 +	mkdir -p $fs/usr/lib/ardour2 $fs/usr/share
    1.58 +	cp -a $_pkg/usr/bin $fs/usr
    1.59 +	cp -a $_pkg/usr/lib/ardour2/*so* $fs/usr/lib/ardour2
    1.60 +	cp -a $_pkg/usr/share/ardour2 $fs/usr/share
    1.61 +	
    1.62 +}