void-packages/srcpkgs/zita-ajbridge/template

19 lines
737 B
Bash

# Template file for 'zita-ajbridge'
pkgname=zita-ajbridge
version=0.7.0
revision=1
build_wrksrc="source"
build_style=gnu-makefile
makedepends="zita-resampler-devel zita-alsa-pcmi-devel alsa-lib-devel jack-devel"
short_desc="Use an ALSA device as a Jack client"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-3"
homepage="https://kokkinizita.linuxaudio.org/linuxaudio/zita-ajbridge-doc/quickguide.html"
distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
checksum=233d5cbfd83124d866b207e261a9fb067590edddec680e956a7d7cfb25417635
pre_build() {
# fix installation and use the right compiler
sed -i -e "s;install -Dm.*\(zita-[^\s]\+\)\s.*$;&/\1;g" -e "s;g++;$CXX;" Makefile
}