# SliTaz package receipt. PACKAGE="openexr" VERSION="2.5.3" CATEGORY="x-window" SHORT_DESC="Openexr library for EXR images." MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" WEB_SITE="https://www.openexr.com/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL" DEPENDS="ilmbase zlib" BUILD_DEPENDS="cmake ilmbase-dev zlib-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { mkdir build && cd build && cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib }