diff options
-rw-r--r-- | community/vo-amrwbenc/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/vo-amrwbenc/APKBUILD b/community/vo-amrwbenc/APKBUILD new file mode 100644 index 0000000000..16be3ac3fd --- /dev/null +++ b/community/vo-amrwbenc/APKBUILD @@ -0,0 +1,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" |