wok view openexr/receipt @ rev 24604
updated glm (0.9.9.7 -> 0.9.9.8)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 02 16:22:49 2022 +0100 (2022-03-02) |
parents | 848e2021d813 |
children | 7364ffdaaa60 |
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="gcc83-lib-base ilmbase zlib"
15 BUILD_DEPENDS="cmake gcc83 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 export CC=gcc-83
27 export CXX=g++-83
29 mkdir build &&
30 cd build &&
31 cmake .. \
32 -DCMAKE_INSTALL_PREFIX=/usr &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }