1
0
forked from ports/contrib

30 lines
613 B
Plaintext
Raw Normal View History

# 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
# Packager: Han Boetes, han at mijncomputer dot nl
# Depends on:
name=ladspa
2007-11-07 00:43:43 +11:00
version=1.13
release=1
source=(http://www.ladspa.org/download/ladspa_sdk_$version.tgz \
ladspa-$version.patch)
build() {
cd ladspa_sdk/src
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
make
make DESTDIR=$PKG install
}