Mercurial > mxe-octave
view src/lcms.mk @ 6530:8ea9085d1f80
of-control: Fix compatibility with Octave 9.
* src/of-control-2-octave-9-compat.patch: Add patch that replaces functions and
classes that have been deprecated in Octave 7 and removed from Octave 9.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 17 Nov 2022 10:40:12 +0100 |
parents | c69471210bba |
children | 84266270faa9 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := lcms $(PKG)_IGNORE := $(PKG)_VERSION := 2.14 $(PKG)_CHECKSUM := 94350a2638fe58da736e8726048c859b46a69e6f $(PKG)_SUBDIR := $(PKG)$(word 1,$(subst ., ,$($(PKG)_VERSION)))-$(subst a,,$($(PKG)_VERSION)) $(PKG)_FILE := $(PKG)$(word 1,$(subst ., ,$($(PKG)_VERSION)))-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) $(PKG)_DEPS := jpeg tiff zlib define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com/mm2/Little-CMS/tags' | \ $(SED) -n 's|.*releases/tag/lcms\([^"]*\).*|\1|p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --prefix='$(HOST_PREFIX)' \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --with-jpeg \ --with-tiff \ --with-zlib && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= DESTDIR='$(3)' endef