summaryrefslogtreecommitdiffstats
path: root/src/gdal.mk
diff options
context:
space:
mode:
authorMartin Lambers <marlam@marlam.de>2012-12-03 18:04:19 (GMT)
committerTony Theodore <tonyt@logyst.com>2012-12-05 07:26:56 (GMT)
commita36c93db651299dcdab5c7625e388b0ce7f78b02 (patch)
treee42e8d6fa039714bd5c827e391bdc834de76d9aa /src/gdal.mk
parent7337ea85eebbba1bb34851fc7cefeaf47a98a003 (diff)
downloadmxe-a36c93db651299dcdab5c7625e388b0ce7f78b02.zip
mxe-a36c93db651299dcdab5c7625e388b0ce7f78b02.tar.gz
mxe-a36c93db651299dcdab5c7625e388b0ce7f78b02.tar.bz2
Add package netcdf and its prerequisites hdf4, hdf5, and portablexdr.
Also enable the HDF4, HDF5 and NetCDF drivers for GDAL.
Diffstat (limited to 'src/gdal.mk')
-rw-r--r--src/gdal.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gdal.mk b/src/gdal.mk
index be8c508..871cd81 100644
--- a/src/gdal.mk
+++ b/src/gdal.mk
@@ -8,7 +8,7 @@ $(PKG)_SUBDIR := gdal-$($(PKG)_VERSION)
$(PKG)_FILE := gdal-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://download.osgeo.org/gdal/$($(PKG)_FILE)
$(PKG)_URL_2 := ftp://ftp.remotesensing.org/gdal/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc zlib libpng tiff libgeotiff jpeg jasper giflib expat sqlite curl geos postgresql gta
+$(PKG)_DEPS := gcc zlib libpng tiff libgeotiff jpeg jasper giflib expat sqlite curl geos postgresql gta hdf4 hdf5 netcdf
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://trac.osgeo.org/gdal/wiki/DownloadSource' | \
@@ -42,6 +42,9 @@ define $(PKG)_BUILD
--with-geos='$(PREFIX)/$(TARGET)/bin/geos-config' \
--with-pg='$(PREFIX)/bin/$(TARGET)-pg_config' \
--with-gta='$(PREFIX)/$(TARGET)' \
+ --with-hdf4='$(PREFIX)/$(TARGET)' \
+ --with-hdf5='$(PREFIX)/$(TARGET)' \
+ --with-netcdf='$(PREFIX)/$(TARGET)' \
--without-odbc \
--without-static-proj4 \
--without-xerces \
@@ -50,12 +53,9 @@ define $(PKG)_BUILD
--without-spatialite \
--without-cfitsio \
--without-pcraster \
- --without-netcdf \
--without-pcidsk \
--without-ogdi \
--without-fme \
- --without-hdf4 \
- --without-hdf5 \
--without-ecw \
--without-kakadu \
--without-mrsid \
@@ -73,7 +73,7 @@ define $(PKG)_BUILD
--without-php \
--without-ruby \
--without-python \
- LIBS="-ljpeg -lsecur32 `'$(TARGET)-pkg-config' --libs openssl libtiff-4`"
+ LIBS="-ljpeg -lsecur32 -lportablexdr -lmsvcr80 `'$(TARGET)-pkg-config' --libs openssl libtiff-4`"
$(MAKE) -C '$(1)' -j 1 lib-target
$(MAKE) -C '$(1)' -j 1 install-lib
$(MAKE) -C '$(1)/port' -j 1 install