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

alarm-clock: fix bdeps & url
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 01:49:07 2012 +0100 (2012-03-09)
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 }