summaryrefslogtreecommitdiff
path: root/repo/cmt/cmt.xibuild
blob: fff62376cf0717bde80504ac3217c58a11af2b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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/"
}