2006-12-20 16:53:18 +11:00
|
|
|
# Description: Linux Audio Developer's Simple Plugin API.
|
|
|
|
# URL: http://www.ladspa.org/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2006-12-20 16:53:18 +11:00
|
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=ladspa
|
2007-11-07 00:43:43 +11:00
|
|
|
version=1.13
|
2006-12-20 16:53:18 +11:00
|
|
|
release=1
|
|
|
|
source=(http://www.ladspa.org/download/ladspa_sdk_$version.tgz \
|
2007-01-09 22:55:19 +11:00
|
|
|
ladspa-$version.patch)
|
2006-12-20 16:53:18 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ladspa_sdk/src
|
2007-04-01 10:18:35 +10:00
|
|
|
patch -p2 -i $SRC/ladspa-$version.patch
|
2007-11-07 00:43:43 +11:00
|
|
|
|
|
|
|
export \
|
|
|
|
CFLAGS="${CFLAGS//-O?/-O3}" \
|
|
|
|
CXXFLAGS="${CXXFLAGS//-O?/-O3}"
|
|
|
|
|
|
|
|
sed -i \
|
|
|
|
-e "s/@CFLAGS@/$CFLAGS/" \
|
|
|
|
-e "s/@CXXFLAGS@/$CXXFLAGS/" \
|
|
|
|
makefile
|
|
|
|
|
2007-01-09 22:55:19 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-12-20 16:53:18 +11:00
|
|
|
}
|
|
|
|
|