aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opus-tools
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-04-02 16:11:52 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-04-04 07:18:45 +0000
commit47eb2599e2416f1859216e3c3acd76c0480a197a (patch)
tree46c0aae4617557e4d435f437a331deca1801a764 /testing/opus-tools
parente418687bb37030c54026bbedc9e3d42dbcc7cd29 (diff)
downloadaports-47eb2599e2416f1859216e3c3acd76c0480a197a.tar.bz2
aports-47eb2599e2416f1859216e3c3acd76c0480a197a.tar.xz
testing/opus-tools: new aport
ref #5365
Diffstat (limited to 'testing/opus-tools')
-rw-r--r--testing/opus-tools/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/opus-tools/APKBUILD b/testing/opus-tools/APKBUILD
new file mode 100644
index 0000000000..361cd8f81c
--- /dev/null
+++ b/testing/opus-tools/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=opus-tools
+pkgver=0.1.9
+pkgrel=0
+pkgdesc="Collection of tools for Opus audio codec"
+url="http://wiki.xiph.org/Opus-tools"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev libogg-dev opus-dev flac-dev linux-headers"
+install=""
+subpackages="$pkgname-doc"
+source="pkgname-$pkgver.tar.gz::http://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz"
+
+builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-assertions \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="20682e4d8d1ae9ec5af3cf43e808b8cb pkgname-0.1.9.tar.gz"
+sha256sums="b1873dd78c7fbc98cf65d6e10cfddb5c2c03b3af93f922139a2104baedb4643a pkgname-0.1.9.tar.gz"
+sha512sums="e2cdc0c9c24297565f9d457893bcc548696b1a9c9b66e4cd48ddbe4dcf865bc50da5ed1b438b2b9ecdcd8be1d7c211d2be199f707cdbcd8a46a75353b0173a4c pkgname-0.1.9.tar.gz"