Mercurial > mxe-octave
view src/tiff.mk @ 5598:9722214b6722
LLVM: Update to version 8.0.1.
* src/llvm.mk: Update version and checksum. Remove unused variable.
* src/llvm-2-demangle.patch: Add new patch that adds missing headers.
* dist-files.mk: Include new file in list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 11 Dec 2020 20:46:31 +0100 |
parents | d63063880e79 |
children | a1155499bd2d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := tiff $(PKG)_IGNORE := $(PKG)_VERSION := 4.1.0 $(PKG)_CHECKSUM := 7a882f8d55fd0620cbf89c47994d2d1d3b975452 $(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) $(PKG)_DEPS := zlib libjbig jpeg ifneq ($(MXE_SYSTEM),msvc) $(PKG)_DEPS += xz endif 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 \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --enable-jbig --without-x && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) DESTDIR='$(3)' $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' rm -f '$(3)$(HOST_LIBDIR)/libtiff.la' rm -f '$(3)$(HOST_LIBDIR)/libtiffxx.la' endef