the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gdl
Version: 0.9pre6
Revision: 1001
Distribution: 10.4, 10.5
Description: GNU Data Language
License: GPL
Maintainer: Sebastien Maret
Depends: <<
bzip2-shlibs, fftw3-shlibs (>= 3.1.1-5), freetype219-shlibs, gsl-shlibs,
hdf5-shlibs (>= 1.6.5-1010), imagemagick1-shlibs, lcms-shlibs,
libiconv, libjpeg-shlibs, libncurses5-shlibs (>= 5.4-20041023-1006),
libpng3-shlibs, libtiff-shlibs, libtool14-shlibs, libxml2-shlibs,
ncurses (>= 5.4-20041023-1006), matplotlib-py25, numarray-py25,
plplot (>= 5.6.1-1008), plplot-shlibs (>= 5.6.1-1008), python25,
python25-shlibs, readline5-shlibs (>= 5.0-1004), szip-shlibs, x11-shlibs
<<
BuildDepends: <<
autoconf, bzip2-dev, fftw3 (>= 3.1.1-5), freetype219, gsl,
hdf5 (>= 1.6.5-1010), imagemagick1-dev, lcms, libiconv-dev, libjpeg,
libncurses5 (>= 5.4-20041023-1006), libpng3, libtiff, libtool14,
libxml2, plplot-dev (>= 5.6.1-1008), qhull, readline5 (>= 5.0-1004),
szip, x11-dev
<<
Source: mirror:sourceforge:gnudatalanguage/gdl-%v.tar.gz
Source-MD5: 5830539e7301f049f27f2a112467fab3
Patch: %n.patch
ConfigureParams: --with-plplotdir=%p --with-ncursesdir=%p --with-readlinedir=%p --with-gsldir=%p --without-netcdf --without-hdf --with-hdf5=%p --with-python=%p --enable-python_version=2.5 --with-Magick=%p --with-fftw=%p CPPFLAGS=-I%p/include/ImageMagick
CompileScript: <<
autoreconf
./configure %c
make prefix=%p
<<
InstallScript: <<
make install prefix=%i
mkdir -p %i/share/%n
cp -R src/pro %i/share/%n
cp -R src/py %i/share/%n
/bin/mv -f %i/lib/libantlr.a %i/lib/libantlr-gdl.a
<<
DocFiles: README COPYING
RuntimeVars: <<
GDL_PATH: "+%p/share/gdl/pro"
<<
DescDetail: <<
GDL is a free IDL (Interactive Data Language) compatible incremental
compiler. It features a full syntax compatibility with IDL
6.0. Overall more than 330 library routines are implemented.
<<
Homepage: http://gnudatalanguage.sf.net/
DescPackaging: <<
Fails to compile with netcdf, so disabling it. See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1839638&group_id=97659&atid=618683
I think that hdf contains netcdf, so it might be enough to enable hdf
only. However, hdf is not present in 10.5, so we disabling it for now.
The configure script fails to detect recent versions of imagemagick,
so we patch configure.in and recreate the configure script. See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1963366&group_id=97659&atid=618683
Originally packaged by Jeffrey Whitaker.
<<