wok annotate openexr/receipt @ rev 15870

linux: fix stupid typo! Now linux64 and linux without modules will build
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 31 19:46:06 2014 +0100 (2014-01-31)
parents 7336c01c2ee2
children 289e794fc5bc
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"
pascal@15601 8 LICENSE="BSD"
slaxemulator@6556 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6556 10 WEB_SITE="http://www.openexr.org/"
slaxemulator@6556 11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
slaxemulator@6556 12
pascal@15601 13 DEPENDS="zlib ilmbase"
pascal@15601 14 BUILD_DEPENDS="zlib zlib-dev ilmbase-dev"
pascal@15601 15
slaxemulator@6556 16 # Rules to configure and make the package.
slaxemulator@6556 17 compile_rules()
slaxemulator@6556 18 {
slaxemulator@6556 19 cd $src
slaxemulator@9700 20 patch -p1 -i $stuff/gcc43.patch
pascal@10562 21 sed -i 's/.*ImathVec.*/#include "string.h"\n&/' \
pascal@10562 22 IlmImf/ImfChromaticities.h
pascal@10562 23 sed -i 's/.*Iex.*/#include "string.h"\n&/' \
pascal@10562 24 exrenvmap/blurImage.cpp
slaxemulator@6556 25 ./configure \
slaxemulator@6556 26 $CONFIGURE_ARGS &&
slaxemulator@10177 27 make && make install
slaxemulator@6556 28 }
slaxemulator@6556 29
slaxemulator@6556 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6556 31 genpkg_rules()
slaxemulator@6556 32 {
slaxemulator@6556 33 mkdir -p $fs/usr/lib
pascal@15601 34 cp -a $install/usr/bin $fs/usr
pascal@15601 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6556 36 }