summaryrefslogtreecommitdiff
path: root/repo/cmt
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/cmt
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/cmt')
-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/"
+}