summaryrefslogtreecommitdiff
path: root/repo/cmt/cmt.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/cmt/cmt.xibuild')
-rw-r--r--repo/cmt/cmt.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/cmt/cmt.xibuild b/repo/cmt/cmt.xibuild
new file mode 100644
index 0000000..fff6237
--- /dev/null
+++ b/repo/cmt/cmt.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="cmt"
+DESC="LADSPA plugins for use with software synthesis and recording packages on Linux"
+
+MAKEDEPS="make ladspa "
+
+PKG_VER=1.18
+SOURCE="https://www.ladspa.org/download/cmt_${PKG_VER}.tgz"
+
+prepare () {
+ sed -e "s|-O2|${CFLAGS} ${LDFLAGS}|" -i src/Makefile
+}
+
+build () {
+ cd src
+ make
+}
+
+package () {
+ cd ..
+ install -Dm 755 plugins/cmt.so "${PKG_DEST}/usr/lib/ladspa/"
+}