annotate src/proj.mk @ 174:b81f3a9f48a5

fixed URLs for version recognition of packages 'libgeotiff' and 'proj'
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 09 Nov 2008 05:31:50 +0100
parents cf19f8123e1b
children f880a27a0e9e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
166
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # proj
171
cf19f8123e1b corrected homepage and download URLs of packages 'libgeotiff' and 'proj'
Volker Grabsch <vog@notjusthosting.com>
parents: 166
diff changeset
2 # http://trac.osgeo.org/proj/
166
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := proj
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_VERSION := 4.6.0
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_SUBDIR := proj-$($(PKG)_VERSION)
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_FILE := proj-$($(PKG)_VERSION).tar.gz
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_URL := ftp://ftp.remotesensing.org/proj/$($(PKG)_FILE)
171
cf19f8123e1b corrected homepage and download URLs of packages 'libgeotiff' and 'proj'
Volker Grabsch <vog@notjusthosting.com>
parents: 166
diff changeset
9 $(PKG)_URL_2 := http://download.osgeo.org/proj/$($(PKG)_FILE)
166
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
174
b81f3a9f48a5 fixed URLs for version recognition of packages 'libgeotiff' and 'proj'
Volker Grabsch <vog@notjusthosting.com>
parents: 171
diff changeset
13 wget -q -O- 'http://trac.osgeo.org/proj/' | \
166
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*proj-\([0-9][^>]*\)\.tar.*,\1,p' | \
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 $(SED) 's,install-exec-local[^:],,' -i '$(1)/src/Makefile.in'
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --host='$(TARGET)' \
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --disable-shared \
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)'
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
5d8d63318729 translated package: proj
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 endef