summaryrefslogtreecommitdiff
path: root/user/ilmbase/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 23:55:31 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 23:55:31 -0500
commit9ac99b4d3f842862b77a70d5a6820b77226c0e53 (patch)
treed1478d6b4d4e9e4e8735ebabef167245ec60c8e2 /user/ilmbase/APKBUILD
parentf652af7585e2a9a9f4b1245cb4d097debe781bd8 (diff)
downloadpackages-9ac99b4d3f842862b77a70d5a6820b77226c0e53.tar.gz
packages-9ac99b4d3f842862b77a70d5a6820b77226c0e53.tar.bz2
packages-9ac99b4d3f842862b77a70d5a6820b77226c0e53.tar.xz
packages-9ac99b4d3f842862b77a70d5a6820b77226c0e53.zip
user/ilmbase: pull in, fix license, bump to 2.2.1
Diffstat (limited to 'user/ilmbase/APKBUILD')
-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"