mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 17:52:10 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
40 lines
990 B
Plaintext
40 lines
990 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libao
|
|
pkgver=1.2.0
|
|
pkgrel=1
|
|
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"
|
|
|
|
_builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
}
|
|
|
|
build () {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-esd \
|
|
--disable-arts \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="9f5dd20d7e95fd0dd72df5353829f097 libao-1.2.0.tar.gz"
|
|
sha256sums="03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf libao-1.2.0.tar.gz"
|
|
sha512sums="9456953826c188d67129ad78366bb86d6243499f2cd340d20d61366f7e40a33f3f8ab601c7f18ce9e24aa22f898093b482b2415b7e428c1486ef7e5ac27b3ee4 libao-1.2.0.tar.gz"
|