annotate src/tiff.mk @ 2349:f48c5b085a38

Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 11:07:07 +0200
parents f653602a0500
children 99516e73b368
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: 2247
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
150
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # LibTIFF
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := tiff
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 444
diff changeset
6 $(PKG)_IGNORE :=
2247
7136da0b4a20 update package tiff
Mark Brand <mabrand@mabrand.nl>
parents: 2186
diff changeset
7 $(PKG)_CHECKSUM := 8baf382231c9051a1b3eb294581289aa21447171
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_SUBDIR := tiff-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.gz
1456
c92395bc3a88 fix download URLs of package: gdal geos libgeotiff proj tiff
Volker Grabsch <vog@notjusthosting.com>
parents: 1068
diff changeset
10 $(PKG)_URL := http://download.osgeo.org/libtiff/$($(PKG)_FILE)
c92395bc3a88 fix download URLs of package: gdal geos libgeotiff proj tiff
Volker Grabsch <vog@notjusthosting.com>
parents: 1068
diff changeset
11 $(PKG)_URL_2 := ftp://ftp.remotesensing.org/libtiff/$($(PKG)_FILE)
2186
c088abec064f package tiff: fix lzma support
Mark Brand <mabrand@mabrand.nl>
parents: 2181
diff changeset
12 $(PKG)_DEPS := gcc zlib jpeg xz
150
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 define $(PKG)_UPDATE
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 wget -q -O- 'http://www.remotesensing.org/libtiff/' | \
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 $(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --host='$(TARGET)' \
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)' \
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --without-x
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
9dd4eddcf968 translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef