aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opencore-amr/APKBUILD
blob: e11234b2eba05d95fed17d2728928cdcde0590e3 (plain) (blame)
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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Adam Plumb <adamplumb@gmail.com>
pkgname=opencore-amr
pkgver=0.1.5
pkgrel=0
pkgdesc="Implementation of Adaptive Multi Rate speech codec"
url="https://sourceforge.net/projects/opencore-amr"
arch="all"
license="Apache-2.0"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/sourceforge/opencore-amr/opencore-amr-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="
c324db9dcac5a31bfac633153bc054bfe42d5ff98202c4adb3c75a3fae9792f07f60d48cd659acf106dacd307174a62b2aeee22a4af53caa20d2bfba46488faf  opencore-amr-0.1.5.tar.gz
"