wok annotate openexr/receipt @ rev 23973
Up openconnect (8.10), openexr (2.5.3), openldap (2.4.55), openssh (8.4p1), openvswitch (2.14.0), phpmyadmin (5.0.4), rust (1.47.0), shellinabox (2.21)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 28 12:04:50 2020 +0000 (2020-10-28) |
parents | f14e66b3bbae |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
slaxemulator@6556 | 1 # SliTaz package receipt. |
slaxemulator@6556 | 2 |
slaxemulator@6556 | 3 PACKAGE="openexr" |
pascal@23973 | 4 VERSION="2.5.3" |
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 } |