void-packages/srcpkgs/dssi-vst/template

30 lines
892 B
Bash

# Template file for 'dssi-vst'
pkgname=dssi-vst
version=0.9.2.20140805
revision=2
_commit=b061c4360a89d3b69bfc44f63bc1bd33e2807f6c
archs=i686
wrksrc="dssi-vst-${_commit}"
hostmakedepends="pkg-config git"
makedepends="zlib-devel jack-devel alsa-lib-devel liblo-devel
dssi-devel ladspa-sdk wine wine-devel"
depends="dssi ladspa-sdk ladspa-sdk-progs wine"
short_desc="Run Windows VST plugins on Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://breakfastquay.com/dssi-vst/"
distfiles="https://github.com/falkTX/dssi-vst/archive/$_commit.tar.gz"
checksum=f93da35b11a09d51263dcd76be79721151ba629dec946f80bf3e5f1201643a91
do_configure() {
sed -i -e "s|/usr/local|/usr|" Makefile
sed -i -e 's/LINK_FLAGS =/& -pthread -lrt/' Makefile
}
do_build() {
make ${makejobs} DESTDIR=${DESTDIR}
}
do_install() {
make ${makejobs} DESTDIR=${DESTDIR} install
}