mxe/src/tiff.mk

27 lines
870 B
Makefile
Raw Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2008-11-08 20:06:56 +00:00
PKG := tiff
2017-03-05 03:41:39 +00:00
$(PKG)_WEBSITE := http://www.libtiff.org/
$(PKG)_DESCR := LibTIFF
$(PKG)_IGNORE :=
$(PKG)_VERSION := 4.0.8
$(PKG)_CHECKSUM := 59d7a5a8ccd92059913f246877db95a2918e6c04fb9d43fd74e5c3390dac2910
$(PKG)_SUBDIR := tiff-$($(PKG)_VERSION)
$(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://download.osgeo.org/libtiff/$($(PKG)_FILE)
$(PKG)_URL_2 := ftp://ftp.remotesensing.org/libtiff/$($(PKG)_FILE)
2015-09-23 08:41:16 +01:00
$(PKG)_DEPS := gcc jpeg xz zlib
2008-11-08 20:06:56 +00:00
define $(PKG)_UPDATE
2017-03-05 03:41:39 +00:00
$(WGET) -q -O- 'http://www.libtiff.org/' | \
2008-11-08 20:06:56 +00:00
$(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
2008-11-08 20:06:56 +00:00
--without-x
$(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_CRUFT)
2008-11-08 20:06:56 +00:00
endef