wok-current view ilmbase/receipt @ rev 24894

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 08 10:34:41 2022 +0000 (2022-04-08)
parents 0f3526433ac0
children d9c7e1e77a12
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 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export SHELL=/bin/bash
28 export CONFIG_SHELL=/bin/bash
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }