void-packages/srcpkgs/jack/template
2014-02-20 14:20:47 +01:00

50 lines
1.2 KiB
Text

# Template file for 'jack'
pkgname=jack
version=1.9.9.5
revision=4
# XXX libffado (firewire)
hostmakedepends="pkg-config python"
makedepends="libsamplerate-devel readline-devel dbus-devel celt-devel"
short_desc="JACK Audio Connection Kit low-latency sound server (pro audio)"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2, LGPL-2.1"
homepage="http://jackaudio.org/"
distfiles="http://jackaudio.org/downloads/jack-1.9.9.5.tar.bz2"
checksum=65ef5acceabb1ebd4ac8c437be47a522292e3c2a1f7bfa656de7392d9351ebbd
do_configure() {
python waf configure --prefix=/usr --alsa --classic --dbus
}
do_build() {
python waf build ${makejobs}
}
do_install() {
python waf install --destdir=${DESTDIR}
# pam_limits(8) support
vinstall ${FILESDIR}/jack-limitsd.conf \
644 etc/security/limits.d jack.conf
# audio group permissions for realtime
vinstall ${FILESDIR}/40-hpet-permissions.rules \
644 usr/lib/udev/rules.d
}
libjack_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/jack
}
}
jack-devel_package() {
depends="libjack>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}