wok rev 6556
Added openexr. Openexr library for EXR images.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 07 15:01:45 2010 +0000 (2010-10-07) |
parents | 7ef6b00b9685 |
children | 9a4978154492 |
files | openexr-dev/receipt openexr/receipt openexr/stuff/gcc43.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openexr-dev/receipt Thu Oct 07 15:01:45 2010 +0000 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openexr-dev" 1.7 +VERSION="1.6.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="devel files for openexr" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="openexr" 1.12 +WEB_SITE="http://www.openexr.org/" 1.13 +WANTED="openexr" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib $fs/usr/share 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.22 + cp -a $_pkg/usr/share/aclocal $fs/usr/share 1.23 +} 1.24 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/openexr/receipt Thu Oct 07 15:01:45 2010 +0000 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="openexr" 2.7 +VERSION="1.6.1" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="openexr library for EXR images" 2.10 +MAINTAINER="slaxemulator@gmail.com" 2.11 +DEPENDS="zlib ilmbase" 2.12 +BUILD_DEPENDS="zlib zlib-dev ilmbase-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.openexr.org/" 2.15 +WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + patch -p1 -i ../stuff/gcc43.patch 2.22 + ./configure \ 2.23 + --prefix=/usr \ 2.24 + --infodir=/usr/share/info \ 2.25 + --mandir=/usr/share/man \ 2.26 + $CONFIGURE_ARGS && 2.27 + make && make DESTDIR=$PWD/_pkg install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + mkdir -p $fs/usr/lib 2.34 + cp -a $_pkg/usr/bin $fs/usr 2.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.36 +} 2.37 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/openexr/stuff/gcc43.patch Thu Oct 07 15:01:45 2010 +0000 3.3 @@ -0,0 +1,22 @@ 3.4 +diff -Nura openexr-1.6.1/exrenvmap/main.cpp openexr-1.6.1.new/exrenvmap/main.cpp 3.5 +--- openexr-1.6.1/exrenvmap/main.cpp 2007-04-25 03:07:51.000000000 +0200 3.6 ++++ openexr-1.6.1.new/exrenvmap/main.cpp 2008-10-30 17:18:13.000000000 +0100 3.7 +@@ -45,6 +45,7 @@ 3.8 + #include <iostream> 3.9 + #include <exception> 3.10 + #include <stdlib.h> 3.11 ++#include <string.h> 3.12 + 3.13 + using namespace Imf; 3.14 + using namespace std; 3.15 +diff -Nura openexr-1.6.1/exrmaketiled/main.cpp openexr-1.6.1.new/exrmaketiled/main.cpp 3.16 +--- openexr-1.6.1/exrmaketiled/main.cpp 2007-04-25 03:08:45.000000000 +0200 3.17 ++++ openexr-1.6.1.new/exrmaketiled/main.cpp 2008-10-30 17:18:40.000000000 +0100 3.18 +@@ -46,6 +46,7 @@ 3.19 + #include <exception> 3.20 + #include <string> 3.21 + #include <stdlib.h> 3.22 ++#include <string.h> 3.23 + 3.24 + using namespace Imf; 3.25 + using namespace std;