aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ilmbase/APKBUILD
blob: b24759c1e8d1a9966696da2347aa6097495e616f (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
# Contributor:
# Maintainer:
pkgname=ilmbase
pkgver=2.1.0
pkgrel=0
pkgdesc="Base libraries from ILM for OpenEXR"
url="http://www.openexr.com"
arch="all"
license="custom"
depends=""
depends_dev="${depends} bash"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://download.savannah.nongnu.org/releases/openexr/${pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="8ba2f608191ad020e50277d8a3ba0850  ilmbase-2.1.0.tar.gz"
sha256sums="1e841ad89c5761940b07a125e6909ad22fe9fe0f99eadef45e0cca4efc6819b4  ilmbase-2.1.0.tar.gz"
sha512sums="2d168accc4f4fb8256fa7a4488c1a930bf1f088bda93f6d8272d3ce15219716d3e85dfa1e85dc2766bce10438e8fb38607a232a145c00d5d742cbde6604df342  ilmbase-2.1.0.tar.gz"