annotate src/gdal.mk @ 265:5bf9071e67b6

put all package's project websites into Make variables $($(PKG)_WEBSITE)
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 01 Mar 2009 16:35:21 +0100
parents 9ba632c1fd07
children 85ffa9259036
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # GDAL
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3 PKG := gdal
195
9ba632c1fd07 update version of package gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 193
diff changeset
4 $(PKG)_VERSION := 1.6.0
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_SUBDIR := gdal-$($(PKG)_VERSION)
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_FILE := gdal-$($(PKG)_VERSION).tar.gz
265
5bf9071e67b6 put all package's project websites into Make variables $($(PKG)_WEBSITE)
Volker Grabsch <vog@notjusthosting.com>
parents: 195
diff changeset
7 $(PKG)_WEBSITE := http://www.gdal.org/
191
19fa29d7d39a update download URL of package "gdal"
Volker Grabsch <vog@notjusthosting.com>
parents: 188
diff changeset
8 $(PKG)_URL := http://download.osgeo.org/gdal/$($(PKG)_FILE)
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents: 182
diff changeset
9 $(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
10
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 define $(PKG)_UPDATE
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 wget -q -O- 'http://trac.osgeo.org/gdal/wiki/DownloadSource' | \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(SED) -n 's,.*gdal-\([0-9][^>]*\)\.tar.*,\1,p' | \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 head -1
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 endef
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 define $(PKG)_BUILD
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 cd '$(1)' && ./configure \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 --host='$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --disable-shared \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --prefix='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 LIBS='-ljpeg' \
181
edcc5f6538d5 package gdal: explicitly mention zlib, enable threading support
Volker Grabsch <vog@notjusthosting.com>
parents: 177
diff changeset
23 --with-threads \
edcc5f6538d5 package gdal: explicitly mention zlib, enable threading support
Volker Grabsch <vog@notjusthosting.com>
parents: 177
diff changeset
24 --with-libz='$(PREFIX)/$(TARGET)' \
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --with-png='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --with-libtiff='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --with-geotiff='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --with-jpeg='$(PREFIX)/$(TARGET)' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --with-gif='$(PREFIX)/$(TARGET)' \
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents: 182
diff changeset
30 --with-expat='$(PREFIX)/$(TARGET)' \
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --with-curl='$(PREFIX)/$(TARGET)/bin/curl-config' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --with-geos='$(PREFIX)/$(TARGET)/bin/geos-config' \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --without-python \
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --without-ngpython
182
d1678aced603 disable parallel builds for packages pthreads, winpcap and gdal
Volker Grabsch <vog@notjusthosting.com>
parents: 181
diff changeset
35 $(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
36 $(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
37 $(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
38 $(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
39 $(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
40 $(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
41 $(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
42 $(MAKE) -C '$(1)/apps' -j 1 install BIN_LIST=
168
df943f9448f7 translated package: gdal
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 endef