Mercurial > mxe-octave
annotate src/proj.mk @ 641:dab071eac9c0
simplified file markers
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 16 Jan 2010 23:02:02 +0100 |
parents | 5040bd62e522 |
children | 29f1ba4559ae |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
458
diff
changeset
|
1 # This file is part of mingw-cross-env. |
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
458
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:
306
diff
changeset
|
3 |
166
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # proj |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
5 PKG := proj |
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 := |
458
5040bd62e522
update version of package proj
Volker Grabsch <vog@notjusthosting.com>
parents:
457
diff
changeset
|
7 $(PKG)_VERSION := 4.7.0 |
5040bd62e522
update version of package proj
Volker Grabsch <vog@notjusthosting.com>
parents:
457
diff
changeset
|
8 $(PKG)_CHECKSUM := bfe59b8dc1ea0c57e1426c37ff2b238fea66acd7 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(PKG)_SUBDIR := proj-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
10 $(PKG)_FILE := proj-$($(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/proj/ |
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/proj/$($(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/proj/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
14 $(PKG)_DEPS := gcc |
166
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 |
5d8d63318729
translated package: proj
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/proj/' | \ |
166
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(SED) -n 's,.*proj-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 head -1 |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --host='$(TARGET)' \ |
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --disable-shared \ |
457
cf3e49c48268
use a bindir sink rather than hacking the Makefile of package proj
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
26 --prefix='$(PREFIX)/$(TARGET)' \ |
cf3e49c48268
use a bindir sink rather than hacking the Makefile of package proj
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
27 --bindir='$(1)/bindirsink' |
220
32eef23cb982
portability fixes for MacOS X
Volker Grabsch <vog@notjusthosting.com>
parents:
178
diff
changeset
|
28 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
32eef23cb982
portability fixes for MacOS X
Volker Grabsch <vog@notjusthosting.com>
parents:
178
diff
changeset
|
29 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
166
5d8d63318729
translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 endef |