aboutsummaryrefslogtreecommitdiffstats
path: root/main/libao/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libao/APKBUILD')
-rw-r--r--main/libao/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/libao/APKBUILD b/main/libao/APKBUILD
new file mode 100644
index 0000000000..5e47953411
--- /dev/null
+++ b/main/libao/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libao
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="Cross-platform audio output library and plugins"
+url="http://www.xiph.org/ao"
+arch="all"
+license="GPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+makedepends="alsa-lib-dev"
+source="http://downloads.xiph.org/releases/ao/$pkgname-$pkgver.tar.gz"
+
+build () {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --enable-alsa09 \
+ --disable-esd \
+ --disable-arts
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ rm "$pkgdir"/usr/lib/*.la \
+ "$pkgdir"/usr/lib/ao/plugins*/*.la
+}
+
+md5sums="2b2508c29bc97e4dc218fa162cf883c8 libao-1.1.0.tar.gz"