annotate src/proj.mk @ 2333:f653602a0500

Rebrand to new project name MXE
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 28 Mar 2012 15:46:58 +0200
parents d099cb3962a2
children f48c5b085a38
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2326
diff changeset
1 # This file is part of MXE.
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
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 :=
2314
f04ef4f56cf0 update packages proj, poco
Tony Theodore <tonyt@logyst.com>
parents: 1456
diff changeset
7 $(PKG)_VERSION := 4.8.0
f04ef4f56cf0 update packages proj, poco
Tony Theodore <tonyt@logyst.com>
parents: 1456
diff changeset
8 $(PKG)_CHECKSUM := 5c8d6769a791c390c873fef92134bf20bb20e82a
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/
1456
c92395bc3a88 fix download URLs of package: gdal geos libgeotiff proj tiff
Volker Grabsch <vog@notjusthosting.com>
parents: 966
diff changeset
12 $(PKG)_URL := http://download.osgeo.org/proj/$($(PKG)_FILE)
c92395bc3a88 fix download URLs of package: gdal geos libgeotiff proj tiff
Volker Grabsch <vog@notjusthosting.com>
parents: 966
diff changeset
13 $(PKG)_URL_2 := ftp://ftp.remotesensing.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 \
929
083dd13e3eb2 use explicitly the --with-mutex configure option in package proj
Volker Grabsch <vog@notjusthosting.com>
parents: 927
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
083dd13e3eb2 use explicitly the --with-mutex configure option in package proj
Volker Grabsch <vog@notjusthosting.com>
parents: 927
diff changeset
27 --with-mutex
966
409e4ebc0164 build the command line tools of package proj
Volker Grabsch <vog@notjusthosting.com>
parents: 929
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)'
2326
d099cb3962a2 package proj: remove unnecessary patch
Mark Brand <mabrand@mabrand.nl>
parents: 2317
diff changeset
29 # remove header which is not installed since 4.8.0
d099cb3962a2 package proj: remove unnecessary patch
Mark Brand <mabrand@mabrand.nl>
parents: 2317
diff changeset
30 rm -f '$(PREFIX)/$(TARGET)'/include/projects.h
966
409e4ebc0164 build the command line tools of package proj
Volker Grabsch <vog@notjusthosting.com>
parents: 929
diff changeset
31 $(MAKE) -C '$(1)' -j 1 install
166
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 endef