aboutsummaryrefslogtreecommitdiffstats
path: root/community/opus-tools/APKBUILD
blob: 361cd8f81cdfe5f712516b0dee75f3012323ad0f (plain) (blame)
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
36
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"