# Template file for 'cmt'
pkgname=cmt
version=1.18
revision=1
build_wrksrc="src"
build_style=gnu-makefile
make_use_env=yes
makedepends="ladspa-sdk"
short_desc="LADSPA plugins for use with software synthesis and recording packages"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.ladspa.org/cmt/overview.html"
distfiles="http://www.ladspa.org/download/${pkgname}_${version}.tgz"
checksum=a82f8636de1f4ada386a199a017a9cd775a49b49e716b11e8dd3f723c93df6ca

post_extract() {
	sed -e "/^CFLAGS/ s/-O2/${CFLAGS}/" \
	  -e 's|-Werror||g' \
	  -i "${wrksrc}/src/Makefile"
}

do_install() {
	vinstall '../plugins/cmt.so' 755 'usr/lib/ladspa'
	vdoc ../README
}
