void-packages/srcpkgs/libao/template

32 lines
819 B
Text
Raw Normal View History

2012-12-21 14:39:55 +00:00
# Template file for 'libao'
pkgname=libao
2014-09-07 15:58:23 +00:00
version=1.2.0
revision=1
2012-12-21 14:39:55 +00:00
build_style=gnu-configure
configure_args="--enable-alsa-mmap"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel pulseaudio-devel"
conf_files="/etc/libao.conf"
2012-12-21 14:39:55 +00:00
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"
2014-09-07 15:58:23 +00:00
checksum=03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf
2012-12-21 14:39:55 +00:00
post_install() {
2014-09-07 15:58:23 +00:00
vconf ${FILESDIR}/libao.conf
2012-12-21 14:39:55 +00:00
}
libao-devel_package() {
2014-06-06 07:37:11 +00:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-06-06 07:37:11 +00:00
vmove usr/lib/*.so
vmove usr/share/doc
vmove usr/share/aclocal
}
}