Info3: << Package: gdal%type_pkg[pgsql]%type_pkg[mysql] Type: pgsql (. -pgsql), mysql (. -mysql) Version: 1.7.2 Revision: 5 Description: Raster/Vector Geospatial Format Translator License: BSD Homepage: http://www.gdal.org Maintainer: Kurt Schwehr 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/. << # Dependencies. Depends: << %n-shlibs (= %v-%r) << Suggests: gdal-py26, gdal-grass Conflicts: gdal, gdal-pgsql, gdal-mysql, gdal-pgsql-mysql Replaces: gdal, gdal-pgsql, gdal-mysql, gdal-pgsql-mysql BuildDepends: << libjpeg8, libjasper.1, giflib | libungif, libpng14, libtiff, szip, libiconv-dev, cfitsio, netcdf, netcdf-bin, unixodbc2 | unixodbc2-nox, libdap9, proj, libogdi3, hdf5, libgeos3.2.2 (>= 3.2.2-1), sqlite3-dev, libspatialite1 (>= 2.3.1-4), (%type_raw[mysql] = -mysql) mysql-unified-dev, (%type_raw[pgsql] = -pgsql) postgresql84-dev, << BuildConflicts: hdf # python26 - Why was python in here? # xerces-c is broken for x86_64 # xerces-c-dev, # Unpack Phase. Source: http://download.osgeo.org/gdal/gdal-%v.tar.gz Source-MD5: 05351f8cb61761ae579667e24a297fe6 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-gif=%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-odbc=%p --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 (%type_raw[mysql] = .) --with-mysql=no (%type_raw[mysql] = -mysql) --with-mysql=yes --with-perl --without-php --without-ruby --without-python --libdir=%p/lib --includedir=%p/include/gdal1 --without-perl --with-sqlite3=%p --with-spatialite=%p # --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, giflib-shlibs | libungif-shlibs, libpng14-shlibs, libtiff-shlibs (>= 3.6.0), szip-shlibs, libiconv, netcdf-shlibs, hdf5-shlibs, unixodbc2-shlibs | unixodbc2-nox-shlibs, libdap9-shlibs, proj-shlibs, libogdi3-shlibs, libgeos3.2.2-shlibs (>= 3.2.2-1), sqlite3-shlibs, libspatialite1-shlibs (>= 2.3.1-4), (%type_raw[mysql] = -mysql) mysql-unified, (%type_raw[mysql] = -mysql) mysql-unified-shlibs, (%type_raw[pgsql] = -pgsql) postgis84, (%type_raw[pgsql] = -pgsql) postgresql84-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 , Blair Zajac and BABA Yoshihiko . See http://wiki.finkproject.org/index.php?title=Fink:Packaging:GIS << DescPort: << << # End of Info3 <<