camlimages _unstable_ port information

Package: camlimages
Version: 2.2.0
Revision: 2
SourceDirectory: camlimages-2.2
Source: ftp://ftp.inria.fr/INRIA/Projects/cristal/caml-light/bazar-ocaml/%n-%v.tgz
Source-MD5: d933eb58c7983f70b1a000fa01893aa4
Description: Objective Caml image processing library
License: GPL
Depends: ocaml, ghostscript, libjpeg-shlibs, libpng3-shlibs, libtiff-shlibs, libungif-shlibs | giflib-shlibs, x11
BuildDepends: libjpeg, libpng3, libtiff, libungif | giflib, x11-dev
PatchScript: <<
# Removing lines that break compilation.
# This is fixed in camlimages CVS, but not in the released version
/usr/bin/sed -i.bak -e '/#undef/d' tiff/tiffread.c
<<
SetCFLAGS: -I/usr/X11R6/include -I%p/include
SetLDFLAGS: -L%p/lib
# Two problems: configure cannot correctly detect the libraries
# Makefile does not pass the correct library path to ocamlmktop
CompileScript: <<
./configure %c --disable-dotopt
perl -pi -e 's,LINKFLAGS_CAMLIMAGES= ,LINKFLAGS_CAMLIMAGES= -cclib "-L%p/lib" ,' Makefile.config
make
make opt
<<
InstallScript: <<
make install LIBDIR=%i/lib/ocaml/camlimages CAMLDIR=%i/lib/ocaml
<<
DocFiles: Announce CHANGES doc/* INSTALL LICENSE README
DescDetail: <<
This is an image processing library, which provides some basic
functions of image processing and loading/saving various image file
formats. In addition the library can handle huge images that cannot be
(or can hardly be) stored into the memory (the library automatically
creates swap files and escapes them to reduce the memory usage).
<<
Maintainer: Mathias Meyer
Homepage: http://pauillac.inria.fr/camlimages/