contrib/openexr/Pkgfile

20 lines
599 B
Plaintext

# Description: A high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.
# URL: http://www.openexr.com/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: cmake
name=openexr
version=2.4.0
release=1
source=(https://github.com/AcademySoftwareFoundation/openexr/archive/v$version/$name-$version.tar.gz)
build() {
mkdir build && cd build
cmake ../$name-$version \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
}