Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs
In directory vz-cvs-3.sog:/tmp/cvs-serv16104

Added Files:
        gdal.info 
Log Message:
pushed from 10.6
  Redid all the python update-alternatives as slaves
  Updated to 1.8.1


--- NEW FILE: gdal.info ---
Info3: <<

# FIX: bring back mysql when packaged

Package: gdal%type_pkg[pgsql]
#Package: gdal%type_pkg[pgsql]%type_pkg[mysql]
Type: pgsql (. -pgsql)
#Type: pgsql (. -pgsql), mysql (. -mysql)
Version: 1.8.1
Revision: 1

# Dependencies.
Depends: <<
        %n-shlibs (= %v-%r)
<<
Suggests: gdal-py27
Conflicts: gdal, gdal-pgsql
Replaces: gdal, gdal-pgsql

#Conflicts: gdal, gdal-pgsql, gdal-mysql, gdal-pgsql-mysql
#Replaces: gdal, gdal-pgsql, gdal-mysql, gdal-pgsql-mysql

BuildDepends: <<
        libjpeg8, libjasper.1, libpng14, libtiff,
        szip, libiconv-dev, cfitsio, 
        netcdf, netcdf-bin,
        libdap9,
        proj,
        libogdi3,
        hdf5.7, 
        libgeos3.3.0,
        sqlite3-dev,
        libspatialite1 (>= 2.3.1-4),

        (%type_raw[pgsql] = -pgsql) postgresql90-dev,
<<

# FIX: add these back in when available
        # giflib | libungif, 
        # unixodbc2 | unixodbc2-nox,
        # (%type_raw[mysql] = -mysql) mysql-unified-dev,

Source: http://download.osgeo.org/gdal/gdal-%v.tar.gz
Source-MD5: b32269893afc9dc9eced45e74e4c6bb4

SetCPPFLAGS: -Os -I%p/include
#SetCPPFLAGS: -Os -I%b/port -I%b/gcore -I%b/alg -I%b/ogr -I%b/ogr/ogrsf_frmts 
-I%b/ogr/ogrsf_frmts/gtiff -I%p/include
SetLDFLAGS:

# WARNING: Watch out for the geos dependency!

ConfigureParams: --mandir='${prefix}/share/man' --with-local=%p --with-libz=%p 
--with-grass=no --with-cfitsio=%p --with-pcraster=no --with-netcdf=%p 
--with-png=%p --with-libtiff=%p --with-geotiff=internal --with-jpeg=%p 
--with-ogdi=%p --with-fme=no  --with-jasper=yes --with-ecw=no --with-kakadu=no 
--with-mrsid=no --with-bsb --with-ogr --with-xerces=yes 
--with-xerces-inc=%p/include --with-xerces-lib='-L%p/lib -lxerces-c -lpthread'  
--with-hdf5=%p --with-hdf4=no --with-oci=no --with-dods-root=no 
--with-geos=%p/opt/libgeos3.2.2/bin/geos-config --with-static-proj4=%p  
(%type_raw[pgsql] = .) --without-pg  (%type_raw[pgsql] = -pgsql) 
--with-pg=%p/bin/pg_config --with-perl --without-php --without-ruby 
--without-python --libdir=%p/lib --includedir=%p/include/gdal1 --without-perl 
--with-sqlite3=%p --with-spatialite=%p

# FIX: add these back when ready
#  --with-gif=%p
# --with-odbc=%p 
# (%type_raw[mysql] = .) --with-mysql=no (%type_raw[mysql] = -mysql) 
--with-mysql=yes

# --with-dods=%p


CompileScript: <<
#!/bin/sh -xe
        ./configure %c
        # (cd apps && perl -pi -e 's|gdaldem|gdalflattenmask\$\(EXE\) gdaldem|' 
GNUmakefile)
        make -j 5
<<

# Why was this in the make line above?
#PYTHON_INCLUDES=%p/include \
#               PYTHON_LIBS='-L%p/lib/python2.6' \
#               PYTHON=%p/bin/python2.6

# Install Phase.
InstallScript: <<
  make install prefix=%i INST_LIB=%i/lib INST_INCLUDE=%i/include/gdal1
  make install-man prefix=%i
  install_name_tool -id "%p/lib/libgdal.1.dylib" %i/lib/libgdal.1.dylib

  # The license file will be brought to %i/share/doc/%n by DocFiles
  rm -f %i/share/gdal/LICENSE.TXT
<<
DocFiles: LICENSE.TXT


SplitOff: <<
  Package: %N-shlibs
  Description: GDAL/OGR shared libraries
  Conflicts: gdal-shlibs, gdal-pgsql-shlibs, gdal-mysql-shlibs, 
gdal-pgsql-mysql-shlibs
  Replaces: gdal-shlibs, gdal-pgsql-shlibs, gdal-mysql-shlibs, 
gdal-pgsql-mysql-shlibs
  Depends: << 
    libjpeg8-shlibs, libjasper.1-shlibs, libpng14-shlibs, libtiff-shlibs (>= 
3.6.0), 
    szip-shlibs, libiconv,
    netcdf-shlibs, 
    hdf5.7-shlibs, 
    libdap9-shlibs,
    proj-shlibs, 
    libogdi3-shlibs,
    libgeos3.3.0-shlibs,
    sqlite3-shlibs,
    libspatialite1-shlibs (>= 2.3.1-4),
    (%type_raw[pgsql] = -pgsql) postgis90,
    (%type_raw[pgsql] = -pgsql) postgresql90-shlibs,
  <<

# FIX: add back when ready
# giflib | libungif, 
#     unixodbc2-shlibs | unixodbc2-nox-shlibs, 
#    (%type_raw[mysql] = -mysql) mysql-unified,
#    (%type_raw[mysql] = -mysql) mysql-unified-shlibs,

  Files: lib/libgdal.*.dylib
  Shlibs: %p/lib/libgdal.1.dylib 16.0.0 %n (>= 1.7.0-1)
  DocFiles: LICENSE.TXT
<<

# Unnecessary, right?
#     python26-shlibs


SplitOff2: <<
  Package: %N-dev
  Description: GDAL/OGR development headers
  Conflicts: gdal-dev, gdal-pgsql-dev, gdal-mysql-dev, gdal-pgsql-mysql-dev
  Replaces: gdal-dev, gdal-pgsql-dev, gdal-mysql-dev, gdal-pgsql-mysql-dev
  Depends: %N-shlibs (= %v-%r)
  BuildDependsOnly: true
  Files: bin/gdal-config include/gdal1 lib/*.a lib/*.la lib/libgdal.dylib 
  DocFiles: LICENSE.TXT
<<


DescPackaging: <<
Previous versions of this package were maintained by Matt Stephenson
<catt...@users.sourceforge.net>, Blair Zajac <bl...@orcaware.com>
and BABA Yoshihiko <babayoshih...@mac.com>.
See http://wiki.finkproject.org/index.php?title=Fink:Packaging:GIS
<<

DescPort: <<
<<

Description: Raster/Vector Geospatial Format Translator
License: BSD
Homepage: http://www.gdal.org
Maintainer: Kurt Schwehr <goat...@users.sourceforge.net>
DescDetail: <<
GDAL is a translator library for raster geospatial data formats. As a library,
it presents a single abstract data model to the calling application for all
supported formats.

Current translators include GeoTIFF (read/write), Erdas Imagine (read),
ESRI .BIL (read/write), .aux labelled raw (read/write), DTED (read),
SDTS DEM (read), CEOS (read), JPEG (read/write), PNG (read/write),
Geosoft GXF (read), Arc/Info Binary Grid (read), FITS (read/write),
netCDF (limited read/write), and GIF (read/write).

The current version of GDAL come with the related OGR library (which lives 
within the GDAL source tree) provides a similar capability for simple features 
vector data.

The OGR Simple Features Library is a C++ open source library (and commandline 
tools) providing read (and sometimes write) access to a variety of vector file 
formats including ESRI Shapefiles, S-57, SDTS, PostGIS, Oracle Spatial, and 
Mapinfo mid/mif and TAB formats.
<<
DescUsage: <<
Packages that need GDAL/OGR libraries should builddepend on gdal-dev and 
depend on gdal-shlibs.  Make sure that configure finds the gdal-config 
script in %p/bin, which tells that the headers are 
in %p/include/gdal1/ and the libraries are in %p/lib/.
<<


# End of Info3
<<


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to