Mercurial > mxe-octave
annotate src/tiff.mk @ 7243:ae230ac322f7 default tip @
* src/sqlite.mk: update to v3460000
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 05 Jun 2024 10:26:58 -0400 |
parents | f2656c67fe5a |
children |
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. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See 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 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := tiff |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
444
diff
changeset
|
5 $(PKG)_IGNORE := |
6860
f2656c67fe5a
* src/tiff.mk: update to v4.6.0
John Donoghue <john.donoghue@ieee.org>
parents:
6754
diff
changeset
|
6 $(PKG)_VERSION := 4.6.0 |
f2656c67fe5a
* src/tiff.mk: update to v4.6.0
John Donoghue <john.donoghue@ieee.org>
parents:
6754
diff
changeset
|
7 $(PKG)_CHECKSUM := 5eda840cc24e1c74c6a9d92faa86a0851f7de7d5 |
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) |
6583
fe6e40fefa80
* src/tiff.mk: add dependancy of libwebp
John Donoghue <john.donoghue@ieee.org>
parents:
6578
diff
changeset
|
12 $(PKG)_DEPS := zlib libjbig jpeg libwebp |
3102
14afb4dd1939
[MSVC] enable TIFF compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
13 ifneq ($(MXE_SYSTEM),msvc) |
14afb4dd1939
[MSVC] enable TIFF compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
14 $(PKG)_DEPS += xz |
14afb4dd1939
[MSVC] enable TIFF compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
15 endif |
150
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 define $(PKG)_UPDATE |
4572 | 18 $(WGET) -q -O- 'http://simplesystems.org/libtiff/' | \ |
150
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 $(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \ |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 head -1 |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 endef |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 define $(PKG)_BUILD |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 cd '$(1)' && ./configure \ |
2997 | 25 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2780
diff
changeset
|
27 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
28 --prefix='$(HOST_PREFIX)' \ |
6584
f9a382236bd5
* src/tiff.mk: Avoid picking up deflate library from build system.
Markus Mützel <markus.muetzel@gmx.de>
parents:
6583
diff
changeset
|
29 --enable-jbig \ |
6649
5d10ee958946
* src/tiff.mk: disable docs
John Donoghue <john.donoghue@ieee.org>
parents:
6584
diff
changeset
|
30 --disable-docs \ |
6584
f9a382236bd5
* src/tiff.mk: Avoid picking up deflate library from build system.
Markus Mützel <markus.muetzel@gmx.de>
parents:
6583
diff
changeset
|
31 --disable-libdeflate \ |
f9a382236bd5
* src/tiff.mk: Avoid picking up deflate library from build system.
Markus Mützel <markus.muetzel@gmx.de>
parents:
6583
diff
changeset
|
32 --without-x && $(CONFIGURE_POST_HOOK) |
4308 | 33 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) DESTDIR='$(3)' |
34 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' | |
2883
c5301f967c64
remove installed .la files for tiff
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
35 |
3293
cf6f40cededb
Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3102
diff
changeset
|
36 rm -f '$(3)$(HOST_LIBDIR)/libtiff.la' |
4032
36fe0b462682
tiff: in shared mode, remove static lib from correct folder
John Donoghue
parents:
4027
diff
changeset
|
37 rm -f '$(3)$(HOST_LIBDIR)/libtiffxx.la' |
150
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 endef |