diff options
author | Luke <fried.roadkill+ght@gmail.com> | 2017-09-01 09:58:26 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2017-10-10 04:31:49 (GMT) |
commit | 4f49515decda34f8803072f45ed70b60376855ad (patch) | |
tree | 03ada88f15531bb3f17d701c949e86f09c17a866 /src/gdal.mk | |
parent | 7185fee5884740df0fa421136ebf40bcce402d63 (diff) | |
download | mxe-4f49515decda34f8803072f45ed70b60376855ad.zip mxe-4f49515decda34f8803072f45ed70b60376855ad.tar.gz mxe-4f49515decda34f8803072f45ed70b60376855ad.tar.bz2 |
Update gdal; adds spatialite support
Diffstat (limited to 'src/gdal.mk')
-rw-r--r-- | src/gdal.mk | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/gdal.mk b/src/gdal.mk index f470900..3f242f9 100644 --- a/src/gdal.mk +++ b/src/gdal.mk @@ -4,15 +4,15 @@ PKG := gdal $(PKG)_WEBSITE := http://www.gdal.org/ $(PKG)_DESCR := GDAL $(PKG)_IGNORE := -$(PKG)_VERSION := 2.1.3 -$(PKG)_CHECKSUM := ae6a0a0dc6eb45a981a46db27e3dfe16c644fcf04732557e2cb315776974074a +$(PKG)_VERSION := 2.2.1 +$(PKG)_CHECKSUM := 61837706abfa3e493f3550236efc2c14bd6b24650232f9107db50a944abf8b2f $(PKG)_SUBDIR := gdal-$($(PKG)_VERSION) $(PKG)_FILE := gdal-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://download.osgeo.org/gdal/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.remotesensing.org/gdal/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc armadillo curl expat geos giflib gta hdf4 hdf5 \ jpeg json-c libgeotiff libmysqlclient libpng libxml2 \ - netcdf openjpeg postgresql proj sqlite tiff zlib + netcdf openjpeg postgresql proj sqlite tiff zlib spatialite define $(PKG)_UPDATE $(WGET) -q -O- 'https://trac.osgeo.org/gdal/wiki/DownloadSource' | \ @@ -60,7 +60,6 @@ define $(PKG)_BUILD --with-oci=no \ --with-odbc=no \ --with-ogdi=no \ - --with-ogr \ --with-openjpeg='$(PREFIX)/$(TARGET)' \ --with-pam \ --with-pcidsk=no \ @@ -69,15 +68,15 @@ define $(PKG)_BUILD --with-php=no \ --with-png='$(PREFIX)/$(TARGET)' \ --with-python=no \ - --with-ruby=no \ --with-sde=no \ - --with-spatialite=no \ + --with-spatialite=yes \ --with-sqlite3='$(PREFIX)/$(TARGET)' \ --with-threads=no \ --with-xerces=no \ --with-xml2='$(PREFIX)/$(TARGET)/bin/xml2-config' \ + --with-pg='$(PREFIX)/$(TARGET)/bin/pg_config' \ CXXFLAGS='-D_WIN32_WINNT=0x0600' \ - LIBS="-ljpeg -lsecur32 -lportablexdr `'$(TARGET)-pkg-config' --libs openssl libtiff-4`" + LIBS="-ljpeg -lsecur32 -lportablexdr `'$(TARGET)-pkg-config' --libs openssl libtiff-4 spatialite freexl armadillo`" $(MAKE) -C '$(1)' -j '$(JOBS)' lib-target # gdal doesn't have an install-strip target |