aboutsummaryrefslogtreecommitdiffstats
path: root/community/opus-tools/APKBUILD
blob: 40b649cb57b63e55863450678a130db671782eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=opus-tools
pkgver=0.1.10
pkgrel=0
pkgdesc="Collection of tools for Opus audio codec"
url="https://wiki.xiph.org/Opus-tools"
arch="all"
license="BSD"
depends=""
makedepends="libogg-dev opus-dev flac-dev linux-headers"
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="6b78535d58b94832710b14e219f65a91  pkgname-0.1.10.tar.gz"
sha256sums="a2357532d19471b70666e0e0ec17d514246d8b3cb2eb168f68bb0f6fd372b28c  pkgname-0.1.10.tar.gz"
sha512sums="4ead97b9fe4658968a4b5cbe4bde5e2d8cbfaaea18dd0d817597cc6b6b11f26937b9eee7358ade63568f0213131aa80ecbed169d1b3885980a556871a4a7fe98  pkgname-0.1.10.tar.gz"