Mercurial > mxe-octave
annotate src/tiff.mk @ 1235:7e9f957b3239
package openal: combine patch files, portability fixes, and add test program
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Fri, 01 Oct 2010 02:03:08 +1000 |
parents | 316c3b553033 |
children | c92395bc3a88 |
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 := |
1068
316c3b553033
upgrade packages: pango tiff
Mark Brand <mabrand@mabrand.nl>
parents:
1065
diff
changeset
|
7 $(PKG)_VERSION := 3.9.4 |
316c3b553033
upgrade packages: pango tiff
Mark Brand <mabrand@mabrand.nl>
parents:
1065
diff
changeset
|
8 $(PKG)_CHECKSUM := a4e32d55afbbcabd0391a9c89995e8e8a19961de |
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/ |
420
7f58092c2316
improved download URLs for packages gdal, geos, libgeotiff, proj and tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
12 $(PKG)_URL := http://ftp.remotesensing.org/libtiff/$($(PKG)_FILE) |
7f58092c2316
improved download URLs for packages gdal, geos, libgeotiff, proj and tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
13 $(PKG)_URL_2 := http://download.osgeo.org/libtiff/$($(PKG)_FILE) |
444
c828215f90ae
enable libgomp (OpenMP) in package gcc by interweaving the pthread build into the gcc build
Volker Grabsch <vog@notjusthosting.com>
parents:
432
diff
changeset
|
14 $(PKG)_DEPS := gcc zlib jpeg |
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 |