New package: cmt-1.17

This commit is contained in:
Olga U 2019-01-23 10:21:22 +07:00 committed by maxice8
parent 6c6f4ee3a3
commit 34b9bafa77

26
srcpkgs/cmt/template Normal file
View file

@ -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 <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
}