aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/openexr/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/openexr/APKBUILD')
-rw-r--r--unmaintained/openexr/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/openexr/APKBUILD b/unmaintained/openexr/APKBUILD
new file mode 100644
index 0000000000..aceac1e042
--- /dev/null
+++ b/unmaintained/openexr/APKBUILD
@@ -0,0 +1,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"