aboutsummaryrefslogtreecommitdiffstats
path: root/community/vo-amrwbenc/APKBUILD
blob: 16be3ac3fd927d036aa2ac703d85fe36f6cd8f1a (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
35
36
37
38
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=vo-amrwbenc
pkgver=0.1.3
pkgrel=0
pkgdesc="VisualOn AMR-WB encoder from Android"
url="https://sourceforge.net/projects/opencore-amr"
arch="all"
license="Apache-2.0"
subpackages="$pkgname-static $pkgname-dev"
source="https://netcologne.dl.sourceforge.net/project/opencore-amr/vo-amrwbenc/vo-amrwbenc-$pkgver.tar.gz"

prepare() {
	default_prepare

	update_config_sub
}

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="5f132f798f00ec2c0619700ab1ce456897792b45631af4b538c866636af9c9de5600af5f79040c41c3dc69c17cf4be7032139a9518a46a4276431e091f3dd6a9  vo-amrwbenc-0.1.3.tar.gz"