You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
891 B
27 lines
891 B
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
PKG := tiff
|
|
$(PKG)_WEBSITE := http://simplesystems.org/libtiff/
|
|
$(PKG)_DESCR := LibTIFF
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 4.0.10
|
|
$(PKG)_CHECKSUM := 2c52d11ccaf767457db0c46795d9c7d1a8d8f76f68b0b800a3dfe45786b996e4
|
|
$(PKG)_SUBDIR := tiff-$($(PKG)_VERSION)
|
|
$(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.gz
|
|
$(PKG)_URL := https://download.osgeo.org/libtiff/$($(PKG)_FILE)
|
|
$(PKG)_URL_2 := ftp://ftp.remotesensing.org/libtiff/$($(PKG)_FILE)
|
|
$(PKG)_DEPS := cc jpeg xz zlib
|
|
|
|
define $(PKG)_UPDATE
|
|
$(WGET) -q -O- 'http://simplesystems.org/libtiff/' | \
|
|
$(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \
|
|
head -1
|
|
endef
|
|
|
|
define $(PKG)_BUILD
|
|
cd '$(1)' && ./configure \
|
|
$(MXE_CONFIGURE_OPTS) \
|
|
--without-x
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_CRUFT)
|
|
endef
|