2012-12-21 14:39:55 +00:00
|
|
|
# Template file for 'libao'
|
|
|
|
pkgname=libao
|
|
|
|
version=1.1.0
|
2014-06-06 07:37:11 +00:00
|
|
|
revision=3
|
2012-12-21 14:39:55 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-alsa-mmap"
|
2014-01-01 15:10:11 +00:00
|
|
|
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"
|
|
|
|
checksum=29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/libao.conf 644 etc
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libao-devel_package() {
|
2014-06-06 07:37:11 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-06-06 07:37:11 +00:00
|
|
|
vmove usr/lib/*.so
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|