void-packages/srcpkgs/portaudio/template
2013-04-16 13:48:29 +02:00

54 lines
1.5 KiB
Text

# Template file for 'portaudio'
pkgname=portaudio
version=19.20110326
revision=6
wrksrc=portaudio
build_style=gnu-configure
configure_args="--enable-cxx --with-jack"
homepage="http://www.portaudio.com"
license="PA, GPL"
short_desc="Portable cross-platform audio i/o library"
maintainer="davehome <davehome@redthumb.info.tm>"
distfiles="http://www.${pkgname}.com/archives/pa_stable_v19_20110326.tgz"
checksum=328a89adc42c66840641d2d557d01e8bd9e6be32e12d3802e3b638e0791de540
long_desc="
PortAudio is a free, cross-platform, open-source, audio I/O library. It lets
you write simple audio programs in C or C++ that will compile and run on many
platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is
intended to promote the exchange of audio software between developers on
different platforms."
disable_parallel_build=yes
makedepends="alsa-lib-devel jack-devel"
portaudio-devel_package() {
depends="portaudio>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove "usr/include/*.h"
vmove usr/lib/pkgconfig/portaudio-2.0.pc
}
}
portaudiocpp_package() {
short_desc="${short_desc} - C++ Bindings"
pkg_install() {
vmove "usr/lib/libportaudiocpp.so*"
}
}
portaudiocpp-devel_package() {
depends="portaudiocpp>=${version} portaudio-devel>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include/portaudiocpp
vmove usr/lib/pkgconfig/portaudiocpp.pc
vmove "usr/lib/libportaudiocpp.a*"
}
}
portaudio_package() {
pkg_install() {
vmove usr
}
}