summaryrefslogtreecommitdiff
path: root/openexr/Pkgfile
blob: 8693a298b93f735255b8c85a224793882a73b642 (plain)
    1 # Description: A high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.
    2 # URL: https://www.openexr.com/
    3 # Maintainer: Matt Housh, jaeger at crux dot ninja
    4 # Depends on: cmake
    5 
    6 name=openexr
    7 version=2.5.2
    8 release=1
    9 source=(https://github.com/AcademySoftwareFoundation/openexr/archive/v$version/$name-$version.tar.gz \
   10     openexr-pkg-config.patch)
   11 
   12 build() {
   13     patch -d $name-$version -p1 -i $SRC/$name-pkg-config.patch
   14     mkdir build && cd build
   15     cmake ../$name-$version \
   16         -DCMAKE_INSTALL_PREFIX=/usr \
   17         -DCMAKE_INSTALL_LIBDIR=/usr/lib
   18     make
   19     make DESTDIR=$PKG install
   20     rm -r $PKG/usr/share/doc
   21 }

Generated by cgit