wok-current annotate openexr/receipt @ rev 13149

get-flash-plugin: update URL discovery
author Richard Dunbar <mojo@slitaz.org>
date Tue Jul 10 17:44:29 2012 +0000 (2012-07-10)
parents aca8b8182adb
children 23c3aed67cd9
rev   line source
slaxemulator@6556 1 # SliTaz package receipt.
slaxemulator@6556 2
slaxemulator@6556 3 PACKAGE="openexr"
slaxemulator@10177 4 VERSION="1.7.0"
slaxemulator@6556 5 CATEGORY="x-window"
slaxemulator@6556 6 SHORT_DESC="openexr library for EXR images"
slaxemulator@6556 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6556 8 DEPENDS="zlib ilmbase"
slaxemulator@6556 9 BUILD_DEPENDS="zlib zlib-dev ilmbase-dev"
slaxemulator@6556 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6556 11 WEB_SITE="http://www.openexr.org/"
slaxemulator@6556 12 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
slaxemulator@6556 13
slaxemulator@6556 14 # Rules to configure and make the package.
slaxemulator@6556 15 compile_rules()
slaxemulator@6556 16 {
slaxemulator@6556 17 cd $src
slaxemulator@9700 18 patch -p1 -i $stuff/gcc43.patch
pascal@10562 19 sed -i 's/.*ImathVec.*/#include "string.h"\n&/' \
pascal@10562 20 IlmImf/ImfChromaticities.h
pascal@10562 21 sed -i 's/.*Iex.*/#include "string.h"\n&/' \
pascal@10562 22 exrenvmap/blurImage.cpp
slaxemulator@6556 23 ./configure \
slaxemulator@6556 24 $CONFIGURE_ARGS &&
slaxemulator@10177 25 make && make install
slaxemulator@6556 26 }
slaxemulator@6556 27
slaxemulator@6556 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6556 29 genpkg_rules()
slaxemulator@6556 30 {
slaxemulator@6556 31 mkdir -p $fs/usr/lib
slaxemulator@6556 32 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6556 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6556 34 }
slaxemulator@6556 35