summaryrefslogtreecommitdiffstats
path: root/src/gdal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdal.mk')
-rw-r--r--src/gdal.mk16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/gdal.mk b/src/gdal.mk
index e4c4e3b..6fe5897 100644
--- a/src/gdal.mk
+++ b/src/gdal.mk
@@ -1,17 +1,14 @@
-# This file is part of mingw-cross-env.
-# See doc/index.html for further information.
+# This file is part of MXE.
+# See index.html for further information.
-# GDAL
PKG := gdal
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.8.0
-$(PKG)_CHECKSUM := e5a2802933054050c6fb0b0a0e1f46b5dd195b0a
+$(PKG)_CHECKSUM := e2eaaf0fba39137b40c0d3069ac41dfb6f3c76db
$(PKG)_SUBDIR := gdal-$($(PKG)_VERSION)
$(PKG)_FILE := gdal-$($(PKG)_VERSION).tar.gz
-$(PKG)_WEBSITE := http://www.gdal.org/
$(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
+$(PKG)_DEPS := gcc zlib libpng tiff libgeotiff jpeg jasper giflib expat sqlite curl geos postgresql gta
define $(PKG)_UPDATE
wget -q -O- 'http://trac.osgeo.org/gdal/wiki/DownloadSource' | \
@@ -43,6 +40,7 @@ define $(PKG)_BUILD
--with-curl='$(PREFIX)/$(TARGET)/bin/curl-config' \
--with-geos='$(PREFIX)/$(TARGET)/bin/geos-config' \
--with-pg='$(PREFIX)/bin/$(TARGET)-pg_config' \
+ --with-gta='$(PREFIX)/$(TARGET)' \
--without-odbc \
--without-static-proj4 \
--without-xerces \
@@ -76,7 +74,7 @@ define $(PKG)_BUILD
--without-ruby \
--without-python \
--without-macosx-framework \
- LIBS="-ljpeg -lsecur32 `'$(TARGET)-pkg-config' --libs openssl`"
+ LIBS="-ljpeg -lsecur32 `'$(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
@@ -85,5 +83,5 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)/alg' -j 1 install
$(MAKE) -C '$(1)/ogr' -j 1 install OGR_ENABLED=
$(MAKE) -C '$(1)/apps' -j 1 install BIN_LIST=
- ln -sf $(PREFIX)/$(TARGET)/bin/gdal-config $(PREFIX)/bin/$(TARGET)-gdal-config
+ ln -sf '$(PREFIX)/$(TARGET)/bin/gdal-config' '$(PREFIX)/bin/$(TARGET)-gdal-config'
endef