2013-11-20 08:41:48 -06:00
|
|
|
# Description: A high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.
|
2007-01-09 19:55:28 +11:00
|
|
|
# URL: http://www.openexr.com/
|
2018-01-10 16:28:26 -06:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2020-01-09 11:19:29 -06:00
|
|
|
# Depends on: cmake
|
2007-01-09 19:55:28 +11:00
|
|
|
|
|
|
|
name=openexr
|
2020-03-08 11:47:47 -05:00
|
|
|
version=2.4.1
|
2007-01-09 19:55:28 +11:00
|
|
|
release=1
|
2020-03-08 11:47:47 -05:00
|
|
|
source=(https://github.com/AcademySoftwareFoundation/openexr/archive/v$version/$name-$version.tar.gz \
|
|
|
|
openexr-pkg-config.patch)
|
2007-01-09 19:55:28 +11:00
|
|
|
|
|
|
|
build() {
|
2020-03-08 11:47:47 -05:00
|
|
|
patch -d $name-$version -p1 -i $SRC/$name-pkg-config.patch
|
2020-01-09 11:19:29 -06:00
|
|
|
mkdir build && cd build
|
|
|
|
cmake ../$name-$version \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib
|
2013-11-20 08:41:48 -06:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/doc
|
2007-01-09 19:55:28 +11:00
|
|
|
}
|