annotate src/libgeotiff.mk @ 222:00d6dd5f8109

work-around for a braindead line 'MAKE = make' in the Makefile of package libgeotiff
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 05 Feb 2009 00:47:17 +0100
parents 54e76514138d
children 5bf9071e67b6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
167
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # GeoTiff
171
cf19f8123e1b corrected homepage and download URLs of packages 'libgeotiff' and 'proj'
Volker Grabsch <vog@notjusthosting.com>
parents: 169
diff changeset
2 # http://trac.osgeo.org/geotiff/
167
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := libgeotiff
178
54e76514138d update packages geos, libgeotiff, libiconv, proj, w32api
Volker Grabsch <vog@notjusthosting.com>
parents: 176
diff changeset
5 $(PKG)_VERSION := 1.2.5
167
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_SUBDIR := libgeotiff-$($(PKG)_VERSION)
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_FILE := libgeotiff-$($(PKG)_VERSION).tar.gz
176
f880a27a0e9e fixed download URLs of packages 'geos', 'libgeotiff', 'proj', 'tiff', 'w32api'
Volker Grabsch <vog@notjusthosting.com>
parents: 174
diff changeset
8 $(PKG)_URL := http://download.osgeo.org/geotiff/libgeotiff/$($(PKG)_FILE)
f880a27a0e9e fixed download URLs of packages 'geos', 'libgeotiff', 'proj', 'tiff', 'w32api'
Volker Grabsch <vog@notjusthosting.com>
parents: 174
diff changeset
9 $(PKG)_URL_2 := ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/$($(PKG)_FILE)
167
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc zlib jpeg tiff proj
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
320bffc1d13c translated package: libgeotiff
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/geotiff/' | \
167
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*libgeotiff-\([0-9][^>]*\)\.tar.*,\1,p' | \
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 $(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
20 touch '$(1)/configure'
167
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --host='$(TARGET)' \
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --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
25 $(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
26 rm -fv '$(PREFIX)/$(TARGET)'/bin/*.remove-me
320bffc1d13c translated package: libgeotiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef