annotate src/gdal.mk @ 694:b13dba692138

revert upgrade of package gdal
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 07 Feb 2010 07:49:56 +0100
parents 9274676de8d3
children 29f1ba4559ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 569
diff changeset
1 # This file is part of mingw-cross-env.
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 569
diff changeset
2 # See doc/index.html or doc/README for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 377
diff changeset
3
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # GDAL
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := gdal
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 432
diff changeset
6 $(PKG)_IGNORE :=
694
b13dba692138 revert upgrade of package gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 691
diff changeset
7 $(PKG)_VERSION := 1.6.3
b13dba692138 revert upgrade of package gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 691
diff changeset
8 $(PKG)_CHECKSUM := b8fc53f562dd253c0c75e9ea4d4398f9548c1f1f
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := gdal-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_FILE := gdal-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
11 $(PKG)_WEBSITE := http://www.gdal.org/
420
7f58092c2316 improved download URLs for packages gdal, geos, libgeotiff, proj and tiff
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
12 $(PKG)_URL := http://ftp.remotesensing.org/gdal/$($(PKG)_FILE)
7f58092c2316 improved download URLs for packages gdal, geos, libgeotiff, proj and tiff
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
13 $(PKG)_URL_2 := http://download.osgeo.org/gdal/$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
14 $(PKG)_DEPS := gcc zlib libpng tiff libgeotiff jpeg giflib expat curl geos
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 define $(PKG)_UPDATE
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 wget -q -O- 'http://trac.osgeo.org/gdal/wiki/DownloadSource' | \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*gdal-\([0-9][^>]*\)\.tar.*,\1,p' | \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-shared \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 LIBS='-ljpeg' \
181
edcc5f6538d5 package gdal: explicitly mention zlib, enable threading support
Volker Grabsch <vog@notjusthosting.com>
parents: 177
diff changeset
28 --with-threads \
edcc5f6538d5 package gdal: explicitly mention zlib, enable threading support
Volker Grabsch <vog@notjusthosting.com>
parents: 177
diff changeset
29 --with-libz='$(PREFIX)/$(TARGET)' \
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --with-png='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --with-libtiff='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --with-geotiff='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --with-jpeg='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --with-gif='$(PREFIX)/$(TARGET)' \
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents: 182
diff changeset
35 --with-expat='$(PREFIX)/$(TARGET)' \
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 --with-curl='$(PREFIX)/$(TARGET)/bin/curl-config' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 --with-geos='$(PREFIX)/$(TARGET)/bin/geos-config' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --without-python \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 --without-ngpython
182
d1678aced603 disable parallel builds for packages pthreads, winpcap and gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 181
diff changeset
40 $(MAKE) -C '$(1)' -j 1 lib-target
d1678aced603 disable parallel builds for packages pthreads, winpcap and gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 181
diff changeset
41 $(MAKE) -C '$(1)' -j 1 install-lib
d1678aced603 disable parallel builds for packages pthreads, winpcap and gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 181
diff changeset
42 $(MAKE) -C '$(1)/port' -j 1 install
d1678aced603 disable parallel builds for packages pthreads, winpcap and gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 181
diff changeset
43 $(MAKE) -C '$(1)/gcore' -j 1 install
d1678aced603 disable parallel builds for packages pthreads, winpcap and gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 181
diff changeset
44 $(MAKE) -C '$(1)/frmts' -j 1 install
d1678aced603 disable parallel builds for packages pthreads, winpcap and gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 181
diff changeset
45 $(MAKE) -C '$(1)/alg' -j 1 install
d1678aced603 disable parallel builds for packages pthreads, winpcap and gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 181
diff changeset
46 $(MAKE) -C '$(1)/ogr' -j 1 install OGR_ENABLED=
d1678aced603 disable parallel builds for packages pthreads, winpcap and gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 181
diff changeset
47 $(MAKE) -C '$(1)/apps' -j 1 install BIN_LIST=
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
48 endef