wok-current view openexr/receipt @ rev 25615

Use default gcc 6.3 for ilmbase / openexr
author Stanislas Leduc <shann@slitaz.org>
date Sun Sep 03 17:52:55 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="openexr"
4 VERSION="2.5.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Openexr library for EXR images."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.openexr.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL"
14 DEPENDS="ilmbase zlib"
15 BUILD_DEPENDS="cmake ilmbase-dev zlib-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir build &&
27 cd build &&
28 cmake .. \
29 -DCMAKE_INSTALL_PREFIX=/usr &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }