summaryrefslogtreecommitdiff
path: root/repo/ladspa/ladspa.xibuild
blob: 261cd9eaa31b4143d3424066c0a552c49df1be49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

NAME="ladspa"
DESC="Linux Audio Developer's Simple Plug-in API, examples and tools"

MAKEDEPS=" libsndfile"

PKG_VER=1.17
SOURCE="https://ladspa.org/download/ladspa_sdk_$PKG_VER.tgz"

ADDITIONAL="
fix-memleak-in-plugin-scanning.patch
"

prepare () {
    apply_patches
}

build() {
	make targets
}

check() {
	make test
}

package() {
	make INSTALL_PLUGINS_DIR="$PKG_DEST/usr/lib/ladspa/" \
		INSTALL_INCLUDE_DIR="$PKG_DEST/usr/include/" \
		INSTALL_BINARY_DIR="$PKG_DEST/usr/bin/" install
}