aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fdk-aac/APKBUILD
blob: 6d0690f22fa7d517144f40d7656075ccf3c1d52d (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=fdk-aac
pkgver=0.1.6
pkgrel=0
pkgdesc="Fraunhofer FDK AAC codec library"
url="https://sourceforge.net/projects/opencore-amr"
arch="all"
license="custom"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="$url/files/$pkgname/$pkgname-$pkgver.tar.gz"
options="!check" # no upstream/available testsuite
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--prefix="/usr" \
		--disable-static
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 NOTICE \
		"${pkgdir}"/usr/share/licenses/libfdk-aac/NOTICE
}

sha512sums="d4d14debeb6e424f4e2a1458ed7bebaa2c45ce54170c6e679286fd965f52286b6a6c1e944edbb4ea2302c3bb789c0f3cdab9c0d89618014ba4250b2f04d71d12  fdk-aac-0.1.6.tar.gz"