summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/ilmbase/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/ilmbase/APKBUILD b/user/ilmbase/APKBUILD
new file mode 100644
index 000000000..d09071080
--- /dev/null
+++ b/user/ilmbase/APKBUILD
@@ -0,0 +1,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"