wok annotate openexr/receipt @ rev 23402

updated perl-test-requires (0.09 -> 0.10)
author Hans-G?nter Theisgen
date Tue Mar 31 17:47:09 2020 +0100 (2020-03-31)
parents 46bdefb69ece
children 848e2021d813
rev   line source
slaxemulator@6556 1 # SliTaz package receipt.
slaxemulator@6556 2
slaxemulator@6556 3 PACKAGE="openexr"
Hans-G?nter@23264 4 VERSION="2.4.1"
slaxemulator@6556 5 CATEGORY="x-window"
Hans-G?nter@22379 6 SHORT_DESC="Openexr library for EXR images."
slaxemulator@6556 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15601 8 LICENSE="BSD"
Hans-G?nter@22379 9 WEB_SITE="https://www.openexr.com/"
Hans-G?nter@22379 10
slaxemulator@6556 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23264 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL"
slaxemulator@6556 13
Hans-G?nter@22380 14 DEPENDS="gcc83-lib-base ilmbase zlib"
Hans-G?nter@23264 15 BUILD_DEPENDS="cmake gcc83 ilmbase-dev zlib-dev"
pascal@15601 16
slaxemulator@6556 17 # Rules to configure and make the package.
slaxemulator@6556 18 compile_rules()
slaxemulator@6556 19 {
Hans-G?nter@23264 20 export CC=gcc-83
Hans-G?nter@23264 21 export CXX=g++-83
Hans-G?nter@23264 22
Hans-G?nter@23264 23 mkdir build &&
Hans-G?nter@23264 24 cd build &&
Hans-G?nter@23264 25 cmake .. \
Hans-G?nter@23264 26 -DCMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@22379 27 make &&
Hans-G?nter@22379 28 make install
slaxemulator@6556 29 }
slaxemulator@6556 30
slaxemulator@6556 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6556 32 genpkg_rules()
slaxemulator@6556 33 {
slaxemulator@6556 34 mkdir -p $fs/usr/lib
Hans-G?nter@22379 35
Hans-G?nter@22379 36 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22379 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6556 38 }