Mercurial > mxe-octave
annotate src/libgeotiff.mk @ 714:29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 08 Feb 2010 00:58:06 +0100 |
parents | dab071eac9c0 |
children | bf4bcb3370fa |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
2 # See doc/index.html for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
3 |
167
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # GeoTiff |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
5 PKG := libgeotiff |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
420
diff
changeset
|
6 $(PKG)_IGNORE := |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
7 $(PKG)_VERSION := 1.2.5 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_CHECKSUM := 38b10070374636fedfdde328ff1c9f3c6e8e581f |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(PKG)_SUBDIR := libgeotiff-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
10 $(PKG)_FILE := libgeotiff-$($(PKG)_VERSION).tar.gz |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
11 $(PKG)_WEBSITE := http://trac.osgeo.org/geotiff/ |
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/geotiff/libgeotiff/$($(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/geotiff/libgeotiff/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
14 $(PKG)_DEPS := gcc zlib jpeg tiff proj |
167
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
174
b81f3a9f48a5
fixed URLs for version recognition of packages 'libgeotiff' and 'proj'
Volker Grabsch <vog@notjusthosting.com>
parents:
171
diff
changeset
|
17 wget -q -O- 'http://trac.osgeo.org/geotiff/' | \ |
167
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(SED) -n 's,.*libgeotiff-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 head -1 |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 $(SED) 's,/usr/local,@prefix@,' -i '$(1)/bin/Makefile.in' |
169
6337081fd7fa
bugfix in the build rules of packages 'gd' and 'libgeotiff'
Volker Grabsch <vog@notjusthosting.com>
parents:
167
diff
changeset
|
24 touch '$(1)/configure' |
167
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 cd '$(1)' && ./configure \ |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --host='$(TARGET)' \ |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --disable-shared \ |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --prefix='$(PREFIX)/$(TARGET)' |
222
00d6dd5f8109
work-around for a braindead line 'MAKE = make' in the Makefile of package libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
178
diff
changeset
|
29 $(MAKE) -C '$(1)' -j 1 all install EXEEXT=.remove-me MAKE='$(MAKE)' |
167
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 rm -fv '$(PREFIX)/$(TARGET)'/bin/*.remove-me |
320bffc1d13c
translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 endef |