Mercurial > mxe-octave
annotate src/tiff.mk @ 2247:7136da0b4a20
update package tiff
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sun, 19 Feb 2012 13:57:44 +0100 |
parents | c088abec064f |
children | f653602a0500 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
535
diff
changeset
|
1 # This file is part of mingw-cross-env. |
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 | 7 $(PKG)_VERSION := 4.0.1 |
8 $(PKG)_CHECKSUM := 8baf382231c9051a1b3eb294581289aa21447171 | |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(PKG)_SUBDIR := tiff-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
10 $(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.gz |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
11 $(PKG)_WEBSITE := http://www.remotesensing.org/libtiff/ |
1456
c92395bc3a88
fix download URLs of package: gdal geos libgeotiff proj tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
1068
diff
changeset
|
12 $(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
|
13 $(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
|
14 $(PKG)_DEPS := gcc zlib jpeg xz |
150
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 wget -q -O- 'http://www.remotesensing.org/libtiff/' | \ |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \ |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 head -1 |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --host='$(TARGET)' \ |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --disable-shared \ |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --prefix='$(PREFIX)/$(TARGET)' \ |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --without-x |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 endef |