wok view ilmbase/receipt @ rev 25599

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 13:38:12 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ilmbase"
4 VERSION="2.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="IlmThread is a thread abstraction library for use with OpenEXR."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.openexr.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="http://savannah.nongnu.org/download/openexr/$TARBALL"
13 WGET_URL="https://github.com/openexr/openexr/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="gcc83-lib-base"
16 BUILD_DEPENDS="bash gcc83"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export SHELL=/bin/bash
29 export CONFIG_SHELL=/bin/bash
31 ./configure \
32 CC=gcc-83 \
33 CXX=g++-83 \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }