void-packages/srcpkgs/rtaudio/template

28 lines
853 B
Bash

# Template file for 'rtaudio'
pkgname=rtaudio
version=5.1.0
revision=1
build_style=gnu-configure
configure_args="--with-alsa --with-jack --with-pulse"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel pulseaudio-devel jack-devel"
short_desc="C++ classes for common Linux, MacOS and Windows realtime audio APIs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.music.mcgill.ca/~gary/rtaudio/"
distfiles="http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-${version}.tar.gz"
checksum=407680389ab4ef1270f9b2f6b953f063e27319dbe914de4394b6c3a1233d8f1a
nocross="Unconditionally test for feature"
rtaudio-devel_package() {
depends="rtaudio-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}