wok-current annotate ilmbase/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | 0f3526433ac0 |
children | d9c7e1e77a12 |
rev | line source |
---|---|
slaxemulator@6555 | 1 # SliTaz package receipt. |
slaxemulator@6555 | 2 |
slaxemulator@6555 | 3 PACKAGE="ilmbase" |
Hans-G?nter@22373 | 4 VERSION="2.3.0" |
slaxemulator@6555 | 5 CATEGORY="x-window" |
Hans-G?nter@22373 | 6 SHORT_DESC="IlmThread is a thread abstraction library for use with OpenEXR." |
slaxemulator@6555 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15600 | 8 LICENSE="BSD" |
Hans-G?nter@22373 | 9 WEB_SITE="https://www.openexr.com/" |
Hans-G?nter@22373 | 10 |
slaxemulator@6555 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22373 | 12 #WGET_URL="http://savannah.nongnu.org/download/openexr/$TARBALL" |
Hans-G?nter@22374 | 13 WGET_URL="https://github.com/openexr/openexr/releases/download/v$VERSION/$TARBALL" |
slaxemulator@6555 | 14 |
Hans-G?nter@22373 | 15 DEPENDS="gcc83-lib-base" |
Hans-G?nter@22373 | 16 BUILD_DEPENDS="bash gcc83" |
pascal@22343 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
slaxemulator@6555 | 24 # Rules to configure and make the package. |
slaxemulator@6555 | 25 compile_rules() |
slaxemulator@6555 | 26 { |
Hans-G?nter@22373 | 27 export SHELL=/bin/bash |
Hans-G?nter@22375 | 28 export CONFIG_SHELL=/bin/bash |
Hans-G?nter@22373 | 29 |
Hans-G?nter@22373 | 30 ./configure \ |
Hans-G?nter@22373 | 31 CC=gcc-83 \ |
Hans-G?nter@22373 | 32 CXX=g++-83 \ |
Hans-G?nter@22373 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22373 | 34 make && |
Hans-G?nter@22373 | 35 make install |
slaxemulator@6555 | 36 } |
slaxemulator@6555 | 37 |
slaxemulator@6555 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6555 | 39 genpkg_rules() |
slaxemulator@6555 | 40 { |
slaxemulator@6555 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@22373 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6555 | 43 } |