aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libfishsound/APKBUILD
blob: 76a2a486a21683ff24d7eb70edf960fd4e5fe587 (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
27
28
29
30
31
32
33
34
35
36
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=libfishsound
pkgver=1.0.0
pkgrel=0
pkgdesc="Simple programming interface for decoding and encoding audio data using the Xiph.org codecs"
url="https://xiph.org/fishsound/"
arch="all"
license="BSD"
makedepends="libvorbis-dev speex"
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	update_config_guess
}

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir"
}

sha512sums="97d850fb42b394fca098a96b1784da431a0af1d54d57127179b612e4b88a7a2e406eb1411f55536e5a11ec2e8956f2659182c60ac46d49f6d14250e39a740339  libfishsound-1.0.0.tar.gz"