void-packages/srcpkgs/cmt/template

27 lines
728 B
Bash

# Template file for 'cmt'
pkgname=cmt
version=1.17
revision=2
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 <me@laserbat.pw>"
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
}