forked from ports/contrib
32 lines
693 B
Plaintext
32 lines
693 B
Plaintext
# Description: Linux Audio Developer's Simple Plugin API.
|
|
# URL: http://www.ladspa.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
|
# Depends on:
|
|
|
|
name=ladspa
|
|
version=1.13
|
|
release=1
|
|
source=(http://crux.ster.zone/downloads/$name/ladspa_sdk_$version.tgz
|
|
ladspa-$version.patch)
|
|
|
|
#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
|
|
|
|
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
|
|
}
|