vp-build/srcpkgs/portaudio/template
2014-07-13 06:33:20 +02:00

51 lines
1.3 KiB
Plaintext

# Template file for 'portaudio'
pkgname=portaudio
version=19.20140130
revision=8
wrksrc=portaudio
build_style=gnu-configure
configure_args="--enable-cxx --with-jack"
hostmakedepends="automake libtool pkg-config"
makedepends="alsa-lib-devel jack-devel"
homepage="http://www.portaudio.com"
license="PA, GPL"
short_desc="Portable cross-platform audio I/O library"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.${pkgname}.com/archives/pa_stable_v${version%.*}_${version#*.}.tgz"
checksum=8fe024a5f0681e112c6979808f684c3516061cc51d3acc0b726af98fc96c8d57
disable_parallel_build=yes
pre_configure() {
autoreconf -fi
}
portaudio-devel_package() {
depends="portaudio>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/include/*.h"
vmove usr/lib/libportaudio.a
vmove usr/lib/libportaudio.so
vmove usr/lib/pkgconfig/portaudio-2.0.pc
}
}
portaudio-cpp_package() {
short_desc+=" - C++ Bindings"
pkg_install() {
vmove "usr/lib/libportaudiocpp.so.*"
}
}
portaudio-cpp-devel_package() {
depends="portaudio-cpp>=${version}_${revision} portaudio-devel>=${version}_${revision}"
short_desc+=" - C++ bindings development files"
pkg_install() {
vmove usr/include/portaudiocpp
vmove usr/lib/pkgconfig/portaudiocpp.pc
vmove usr/lib/libportaudiocpp.a
vmove usr/lib/libportaudiocpp.so
}
}