Mercurial > mxe-octave
annotate src/tiff.mk @ 2997:4f9b72cf7ee7
allow native builds too
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 28 May 2013 17:31:59 -0400 |
parents | c5301f967c64 |
children | 100e618349f7 |
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 := |
2780 | 6 $(PKG)_CHECKSUM := 652e97b78f1444237a82cbcfe014310e776eb6f0 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
7 $(PKG)_SUBDIR := tiff-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(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
|
9 $(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
|
10 $(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
|
11 $(PKG)_DEPS := gcc zlib jpeg xz |
150
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://www.remotesensing.org/libtiff/' | \ |
150
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 $(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \ |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 head -1 |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 cd '$(1)' && ./configure \ |
2997 | 21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
150
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 --host='$(TARGET)' \ |
2625 | 23 --build="`config.guess`" \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2780
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
150
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --prefix='$(PREFIX)/$(TARGET)' \ |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --without-x |
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
2883
c5301f967c64
remove installed .la files for tiff
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
28 |
2997 | 29 rm -f $(MXE_LIBDIR)/libtiff.la |
30 rm -f $(MXE_LIBDIR)/lib/libtiffxx.la | |
150
9dd4eddcf968
translated package: tiff
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 endef |