wok-4.x view openexr/receipt @ rev 12012

Change nvidia-173xx $CATEGORY to non-free
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 06 05:19:00 2012 +0100 (2012-03-06)
parents aca8b8182adb
children
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 }