diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-05 19:33:39 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-04-09 10:03:55 +0000 |
commit | 0cd1b8cc91bf194b0fb64285cb93611b11155bb7 (patch) | |
tree | bb91427449d2481a16b7b845e0a9617335c5910e /main/libao | |
parent | ae51ac47d48b48d0ba742a16299520138842774d (diff) | |
download | aports-0cd1b8cc91bf194b0fb64285cb93611b11155bb7.tar.bz2 aports-0cd1b8cc91bf194b0fb64285cb93611b11155bb7.tar.xz |
main/libao: modernise, fix license, mark no tests
Diffstat (limited to 'main/libao')
-rw-r--r-- | main/libao/APKBUILD | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/main/libao/APKBUILD b/main/libao/APKBUILD index 4a2784f875..5ed18e885e 100644 --- a/main/libao/APKBUILD +++ b/main/libao/APKBUILD @@ -1,39 +1,31 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libao pkgver=1.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Cross-platform audio output library and plugins" url="http://www.xiph.org/ao" arch="all" -license="GPL" +options="!check" # No test suite. +license="GPL-2.0+" subpackages="$pkgname-dev $pkgname-doc" depends="" makedepends="alsa-lib-dev" source="http://downloads.xiph.org/releases/ao/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$_builddir" -} - -build () { - cd "$_builddir" +build() { + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-esd \ - --disable-arts \ - || return 1 - make || return 1 + --disable-arts + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="9f5dd20d7e95fd0dd72df5353829f097 libao-1.2.0.tar.gz" -sha256sums="03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf libao-1.2.0.tar.gz" sha512sums="9456953826c188d67129ad78366bb86d6243499f2cd340d20d61366f7e40a33f3f8ab601c7f18ce9e24aa22f898093b482b2415b7e428c1486ef7e5ac27b3ee4 libao-1.2.0.tar.gz" |