# SliTaz package receipt. PACKAGE="ilmbase" VERSION="2.3.0" CATEGORY="x-window" SHORT_DESC="IlmThread is a thread abstraction library for use with OpenEXR." MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" WEB_SITE="https://www.openexr.com/" TARBALL="$PACKAGE-$VERSION.tar.gz" #WGET_URL="http://savannah.nongnu.org/download/openexr/$TARBALL" WGET_URL="https://github.com/openexr/openexr/releases/download/v$VERSION/$TARBALL" BUILD_DEPENDS="bash" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { export SHELL=/bin/bash export CONFIG_SHELL=/bin/bash ./configure \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }