Mercurial > mxe-octave
comparison src/gdal.mk @ 2544:df1dce2b7385
update package gdal
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Tue, 22 May 2012 23:16:46 +0200 |
parents | 4d0f3a9da57e |
children | 1094976c3a57 |
comparison
equal
deleted
inserted
replaced
2543:fd3ee2ca91ab | 2544:df1dce2b7385 |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := gdal | 4 PKG := gdal |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := e2eaaf0fba39137b40c0d3069ac41dfb6f3c76db | 6 $(PKG)_CHECKSUM := c1eae556398ff7b9332afe9d3022dcd931130808 |
7 $(PKG)_SUBDIR := gdal-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := gdal-$($(PKG)_VERSION) |
8 $(PKG)_FILE := gdal-$($(PKG)_VERSION).tar.gz | 8 $(PKG)_FILE := gdal-$($(PKG)_VERSION).tar.gz |
9 $(PKG)_URL := http://download.osgeo.org/gdal/$($(PKG)_FILE) | 9 $(PKG)_URL := http://download.osgeo.org/gdal/$($(PKG)_FILE) |
10 $(PKG)_URL_2 := ftp://ftp.remotesensing.org/gdal/$($(PKG)_FILE) | 10 $(PKG)_URL_2 := ftp://ftp.remotesensing.org/gdal/$($(PKG)_FILE) |
11 $(PKG)_DEPS := gcc zlib libpng tiff libgeotiff jpeg jasper giflib expat sqlite curl geos postgresql gta | 11 $(PKG)_DEPS := gcc zlib libpng tiff libgeotiff jpeg jasper giflib expat sqlite curl geos postgresql gta |
18 | 18 |
19 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
20 # The option '--without-threads' means native win32 threading without pthread. | 20 # The option '--without-threads' means native win32 threading without pthread. |
21 cd '$(1)' && ./configure \ | 21 cd '$(1)' && ./configure \ |
22 --host='$(TARGET)' \ | 22 --host='$(TARGET)' \ |
23 --build="`config.guess`" \ | |
23 --disable-shared \ | 24 --disable-shared \ |
24 --prefix='$(PREFIX)/$(TARGET)' \ | 25 --prefix='$(PREFIX)/$(TARGET)' \ |
25 --with-bsb \ | 26 --with-bsb \ |
26 --with-grib \ | 27 --with-grib \ |
27 --with-ogr \ | 28 --with-ogr \ |
63 --without-oci \ | 64 --without-oci \ |
64 --without-mysql \ | 65 --without-mysql \ |
65 --without-ingres \ | 66 --without-ingres \ |
66 --without-dods-root \ | 67 --without-dods-root \ |
67 --without-dwgdirect \ | 68 --without-dwgdirect \ |
68 --without-dwg-plt \ | |
69 --without-idb \ | 69 --without-idb \ |
70 --without-sde \ | 70 --without-sde \ |
71 --without-epsilon \ | 71 --without-epsilon \ |
72 --without-perl \ | 72 --without-perl \ |
73 --without-php \ | 73 --without-php \ |
74 --without-ruby \ | 74 --without-ruby \ |
75 --without-python \ | 75 --without-python \ |
76 --without-macosx-framework \ | |
77 LIBS="-ljpeg -lsecur32 `'$(TARGET)-pkg-config' --libs openssl libtiff-4`" | 76 LIBS="-ljpeg -lsecur32 `'$(TARGET)-pkg-config' --libs openssl libtiff-4`" |
78 $(MAKE) -C '$(1)' -j 1 lib-target | 77 $(MAKE) -C '$(1)' -j 1 lib-target |
79 $(MAKE) -C '$(1)' -j 1 install-lib | 78 $(MAKE) -C '$(1)' -j 1 install-lib |
80 $(MAKE) -C '$(1)/port' -j 1 install | 79 $(MAKE) -C '$(1)/port' -j 1 install |
81 $(MAKE) -C '$(1)/gcore' -j 1 install | 80 $(MAKE) -C '$(1)/gcore' -j 1 install |