wok-6.x view openexr/receipt @ rev 17353

Up: gimp (2.8.14)
author Alexander Medvedev <devl547@gmail.com>
date Sun Nov 16 00:04:13 2014 +0000 (2014-11-16)
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 }