Mercurial > mxe-octave
comparison src/gdal.mk @ 2525:4d0f3a9da57e
all packages: use $(WGET) portability variable
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 09 May 2012 01:16:05 +1000 |
parents | b5321bdec505 |
children | df1dce2b7385 |
comparison
equal
deleted
inserted
replaced
2524:422cb29ca669 | 2525:4d0f3a9da57e |
---|---|
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 |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 wget -q -O- 'http://trac.osgeo.org/gdal/wiki/DownloadSource' | \ | 14 $(WGET) -q -O- 'http://trac.osgeo.org/gdal/wiki/DownloadSource' | \ |
15 $(SED) -n 's,.*gdal-\([0-9][^>]*\)\.tar.*,\1,p' | \ | 15 $(SED) -n 's,.*gdal-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
16 head -1 | 16 head -1 |
17 endef | 17 endef |
18 | 18 |
19 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |