Name opencore-amr
Description Implementation of Adaptive Multi Rate speech codec
Version 0.1.6-r1
Package Base opencore-amr
Homepage https://sourceforge.net/projects/opencore-amr/
Maintainers ['Adam Plumb <adamplumb@gmail.com>']
Contributors ['Leo <thinkabit.ukim@gmail.com>']
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/community/opencore-amr
Sources ['https://downloads.sourceforge.net/sourceforge/opencore-amr/opencore-amr-0.1.6-r1.tar.gz']
Dependencies ['libc.musl-x86_64.so.1']
Optional-Dependencies []
Build-Dependencies []
Provides ['so:libopencore-amrnb.so.0=0.0.5', 'so:libopencore-amrwb.so.0=0.0.5']
Builddate 10-03-2023 22:09:41
Architecture x86_64
Distro-Version v3.22
Licenses ['Apache-2.0']
Hash Q1zo2tmILm1C9UwLhIcyt9R+GpA78=
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Adam Plumb <adamplumb@gmail.com>
pkgname=opencore-amr
pkgver=0.1.6
pkgrel=1
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="
8955169954b09d2d5e2190888602c75771b72455290db131ab7f40b587df32ea6a60f205126b09193b90064d0fd82b7d678032e2b4c684189788e175b83d0aa7  opencore-amr-0.1.6.tar.gz
"