# HG changeset patch # User Christopher Rogers # Date 1286463705 0 # Node ID 6f01180108ea8724591e2058e7c4e04307292f55 # Parent 7ef6b00b9685d7c78cd7372f4bbfc92a25483a58 Added openexr. Openexr library for EXR images. diff -r 7ef6b00b9685 -r 6f01180108ea openexr-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openexr-dev/receipt Thu Oct 07 15:01:45 2010 +0000 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="openexr-dev" +VERSION="1.6.1" +CATEGORY="development" +SHORT_DESC="devel files for openexr" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="openexr" +WEB_SITE="http://www.openexr.org/" +WANTED="openexr" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/share/aclocal $fs/usr/share +} + diff -r 7ef6b00b9685 -r 6f01180108ea openexr/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openexr/receipt Thu Oct 07 15:01:45 2010 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="openexr" +VERSION="1.6.1" +CATEGORY="x-window" +SHORT_DESC="openexr library for EXR images" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="zlib ilmbase" +BUILD_DEPENDS="zlib zlib-dev ilmbase-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.openexr.org/" +WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + patch -p1 -i ../stuff/gcc43.patch + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} + diff -r 7ef6b00b9685 -r 6f01180108ea openexr/stuff/gcc43.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openexr/stuff/gcc43.patch Thu Oct 07 15:01:45 2010 +0000 @@ -0,0 +1,22 @@ +diff -Nura openexr-1.6.1/exrenvmap/main.cpp openexr-1.6.1.new/exrenvmap/main.cpp +--- openexr-1.6.1/exrenvmap/main.cpp 2007-04-25 03:07:51.000000000 +0200 ++++ openexr-1.6.1.new/exrenvmap/main.cpp 2008-10-30 17:18:13.000000000 +0100 +@@ -45,6 +45,7 @@ + #include + #include + #include ++#include + + using namespace Imf; + using namespace std; +diff -Nura openexr-1.6.1/exrmaketiled/main.cpp openexr-1.6.1.new/exrmaketiled/main.cpp +--- openexr-1.6.1/exrmaketiled/main.cpp 2007-04-25 03:08:45.000000000 +0200 ++++ openexr-1.6.1.new/exrmaketiled/main.cpp 2008-10-30 17:18:40.000000000 +0100 +@@ -46,6 +46,7 @@ + #include + #include + #include ++#include + + using namespace Imf; + using namespace std;