void-packages/srcpkgs/libao/template

39 lines
870 B
Plaintext

# Template file for 'libao'
pkgname=libao
version=1.1.0
revision=2
build_style=gnu-configure
configure_args="--enable-alsa-mmap"
homepage="http://xiph.org/ao/"
short_desc="Cross-platform audio output library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
distfiles="http://downloads.xiph.org/releases/ao/${pkgname}-${version}.tar.gz"
checksum=29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel pulseaudio-devel"
post_install() {
vinstall ${FILESDIR}/libao.conf 644 etc
}
libao-devel_package() {
depends="libao>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove usr/share/aclocal
}
}
libao_package() {
conf_files="/etc/libao.conf"
pkg_install() {
vmove etc
vmove usr
}
}