wok annotate openexr/receipt @ rev 16815
Up gsettings-desktop-schemas (3.12.2)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jul 10 23:12:54 2014 -0300 (2014-07-10) |
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 } |