contrib/ladspa/Pkgfile
Danny Rawlins 299847b528 ladspa: fixed wrong command on creating the plug-ins directory, thanks onestep for pointing this out
also made it use -O3 compiler flags as thats what it was set in the makefile before the patch
2007-01-09 22:55:19 +11:00

22 lines
539 B
Plaintext

# Description: Linux Audio Developer's Simple Plugin API.
# URL: http://www.ladspa.org/
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Han Boetes, han at mijncomputer dot nl
# Depends on:
name=ladspa
version=1.12
release=1
source=(http://www.ladspa.org/download/ladspa_sdk_$version.tgz \
ladspa-$version.patch)
build() {
cd ladspa_sdk/src
patch -i $SRC/ladspa-$version.patch
mv makefile Makefile
export CFLAGS="${CFLAGS//-O?/-O3}" CXXFLAGS="${CXXFLAGS//-O?/-O3}"
make
make DESTDIR=$PKG install
}