aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openexr/APKBUILD
blob: aceac1e042ab051f88bf84cc56a5fa71adf8d629 (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
36
37
38
39
40
41
42
43
44
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=openexr
pkgver=2.2.0
pkgrel=1
pkgdesc="An high dynamic-range image file format library"
url="http://www.openexr.com/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="ilmbase-dev zlib-dev"
install=""
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="http://download.savannah.nongnu.org/releases/openexr/${pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	make DESTDIR="$pkgdir" \
		-C "$_builddir" install || return 1
}

md5sums="b64e931c82aa3790329c21418373db4e  openexr-2.2.0.tar.gz"
sha256sums="36a012f6c43213f840ce29a8b182700f6cf6b214bea0d5735594136b44914231  openexr-2.2.0.tar.gz"
sha512sums="017abbeeb6b814508180721bc8e8940094965c4c55b135a198c6bcb109a04bf7f72e4aee81ee72cb2185fe818a41d892b383e8d2d59f40c673198948cb79279a  openexr-2.2.0.tar.gz"