diff --git a/srcpkgs/cmt/template b/srcpkgs/cmt/template new file mode 100644 index 00000000000..7b472c1d266 --- /dev/null +++ b/srcpkgs/cmt/template @@ -0,0 +1,26 @@ +# Template file for 'cmt' +pkgname=cmt +version=1.17 +revision=1 +wrksrc="${pkgname}_${version}" +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="Olga Ustuzhanina " +license="GPL-2.0-or-later" +homepage="http://www.ladspa.org/cmt/overview.html" +distfiles="http://www.ladspa.org/download/${pkgname}_${version}.tgz" +checksum=eb56d7abebfdf8a6d0ad65d012238c9fc394dd41eeca11900812a8cb6b07ad1f + +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 +}