blob: 49b506cf323ae68aed40aeceaa5e592bec62408e (
plain)
1 # Description: Linux Audio Developer's Simple Plugin API.
2 # URL: http://www.ladspa.org/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Han Boetes, han at mijncomputer dot nl
5 # Depends on:
6
7 name=ladspa
8 version=1.13
9 release=1
10 source=(http://www.ladspa.org/download/ladspa_sdk_$version.tgz \
11 ladspa-$version.patch)
12
13 build() {
14 cd ladspa_sdk/src
15 patch -p2 -i $SRC/ladspa-$version.patch
16
17 export \
18 CFLAGS="${CFLAGS//-O?/-O3}" \
19 CXXFLAGS="${CXXFLAGS//-O?/-O3}"
20
21 sed -i \
22 -e "s/@CFLAGS@/$CFLAGS/" \
23 -e "s/@CXXFLAGS@/$CXXFLAGS/" \
24 makefile
25
26 make
27 make DESTDIR=$PKG install
28 }
|