diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-03-10 12:30:56 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-03-10 12:30:56 +0100 |
commit | 17ba2b6c0bb78873d9084ea776e9240f4a2151f0 (patch) | |
tree | bfbbcb2b9b33f3d72a309565b12e9aca5624714c /testing/opus | |
parent | ce99623ec146abd0a92f6b0d7fb469104eb2b5ae (diff) | |
download | aports-17ba2b6c0bb78873d9084ea776e9240f4a2151f0.tar.bz2 aports-17ba2b6c0bb78873d9084ea776e9240f4a2151f0.tar.xz |
testing/opus: new aport
Diffstat (limited to 'testing/opus')
-rw-r--r-- | testing/opus/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/opus/APKBUILD b/testing/opus/APKBUILD new file mode 100644 index 0000000000..90a1ae6802 --- /dev/null +++ b/testing/opus/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: +# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> + +pkgname=opus +pkgver=1.1 +pkgrel=0 +pkgdesc='Codec designed for interactive speech and audio transmission over the Internet' +arch=all +url='http://www.opus-codec.org/' +license='BSD' +subpackages="$pkgname-dev" +makedepends= +source="http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr --enable-custom-modes --disable-static || return 1 + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1 + + find "$pkgdir" -name \*.la -delete || return 1 +} + +md5sums="c5a8cf7c0b066759542bc4ca46817ac6 opus-1.1.tar.gz" +sha256sums="b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95 opus-1.1.tar.gz" +sha512sums="b603efe66d65ef38dbcd0d2bbf213a1d15fa456aee00eca73e99abe4ec78668ed82e661ca7a69e9af4e0bc39e1aa76c4151b7f9840ff621ddcfd69f596cf2ba9 opus-1.1.tar.gz" |