aboutsummaryrefslogtreecommitdiffstats
path: root/community/opencore-amr/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/opencore-amr/APKBUILD')
-rw-r--r--community/opencore-amr/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/opencore-amr/APKBUILD b/community/opencore-amr/APKBUILD
new file mode 100644
index 0000000000..e11234b2eb
--- /dev/null
+++ b/community/opencore-amr/APKBUILD
@@ -0,0 +1,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
+"