wok view openexr/receipt @ rev 18184

chkrootkit: fix login false positive
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 07 09:34:15 2015 +0200 (2015-07-07)
parents 7336c01c2ee2
children 289e794fc5bc
line source
1 # SliTaz package receipt.
3 PACKAGE="openexr"
4 VERSION="1.7.0"
5 CATEGORY="x-window"
6 SHORT_DESC="openexr library for EXR images"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.openexr.org/"
11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
13 DEPENDS="zlib ilmbase"
14 BUILD_DEPENDS="zlib zlib-dev ilmbase-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -p1 -i $stuff/gcc43.patch
21 sed -i 's/.*ImathVec.*/#include "string.h"\n&/' \
22 IlmImf/ImfChromaticities.h
23 sed -i 's/.*Iex.*/#include "string.h"\n&/' \
24 exrenvmap/blurImage.cpp
25 ./configure \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }