wok view openexr/receipt @ rev 15552

Up: thunderbird-langpack-el (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:37:29 2013 +0100 (2013-11-24)
parents aca8b8182adb
children 23c3aed67cd9
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 DEPENDS="zlib ilmbase"
9 BUILD_DEPENDS="zlib zlib-dev ilmbase-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.openexr.org/"
12 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 -i $stuff/gcc43.patch
19 sed -i 's/.*ImathVec.*/#include "string.h"\n&/' \
20 IlmImf/ImfChromaticities.h
21 sed -i 's/.*Iex.*/#include "string.h"\n&/' \
22 exrenvmap/blurImage.cpp
23 ./configure \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }