summaryrefslogtreecommitdiff
path: root/user/ilmbase/APKBUILD
blob: d09071080a507e58a344219c1af4df8a97189d24 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: 
pkgname=ilmbase
pkgver=2.2.1
pkgrel=0
pkgdesc="Base libraries from ILM for OpenEXR"
url="http://www.openexr.com"
arch="all"
license="BSD-3-Clause"
makedepends="bash linux-headers"
subpackages="$pkgname-dev"
source="https://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	[ "$CARCH" != x86 ] || return 0
	cd "$builddir"
	make check
}
package() {
	make DESTDIR="$pkgdir" \
		-C "$builddir" install
}

sha512sums="a08ddd9069b34a93612445a445a2ddf80c0e22349bcf221a3cc6e9f5575180b08a8b597009dacabf072360e7162e15964988bc79e8ec82cf3da6507148a75320  ilmbase-2.2.1.tar.gz"