wok-current view ilmbase/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 (11 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 BUILD_DEPENDS="bash"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 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 SHELL=/bin/bash
27 export CONFIG_SHELL=/bin/bash
29 ./configure \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }