aboutsummaryrefslogtreecommitdiffstats
path: root/main/libao/APKBUILD
blob: 9c179172ff34831a5eff563c464f80b9bc7a1186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libao
pkgver=1.0.0
pkgrel=0
pkgdesc="Cross-platform audio output library and plugins"
url="http://www.xiph.org/ao"
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
}
md5sums="08283fbe1f587619053a156254afecec  libao-1.0.0.tar.gz"