void-packages/srcpkgs/pvoc/template

26 lines
681 B
Bash

# Template file for 'pvoc'
pkgname=pvoc
version=0.1.12
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="ladspa-sdk fftw-devel libsndfile-devel"
short_desc="LADSPLA plugins and a tool for time compression/expansion"
maintainer="Olga Ustuzhanina <me@laserbat.pw>"
license="GPL-2.0-or-later"
homepage="http://quitte.de/dsp/pvoc.html"
distfiles="http://quitte.de/dsp/pvoc_${version}.tar.gz"
checksum=d519d416049143cb2c4775feae639021b5693f39e27e99b1f036392580baa32d
pre_build() {
sed -i "s@-O6.\+@${CFLAGS}@" Makefile
sed -i "s@g++@${CXX}@" Makefile
}
do_install() {
vbin stretch
vman stretch.1
vinstall pvoc.so 755 usr/lib/ladspa
}