# This file is part of MXE. See LICENSE.md for licensing information. PKG := jasper $(PKG)_WEBSITE := https://www.ece.uvic.ca/~mdadams/jasper/ $(PKG)_DESCR := JasPer $(PKG)_IGNORE := $(PKG)_VERSION := 4.2.4 $(PKG)_CHECKSUM := 23a3d58cdeacf3abdf9fa1d81dcefee58da6ab330940790c0f27019703bfd2cd $(PKG)_GH_CONF := mdadams/jasper/tags, version- $(PKG)_DEPS := cc jpeg define $(PKG)_BUILD cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \ -DJAS_STDC_VERSION="`'$(TARGET)-gcc' -dM -E - < /dev/null | grep __STDC_VERSION__ | '$(SED)' 's/^\([^ ]\+ \)\{2\}//;'`" \ -DJAS_ENABLE_SHARED=$(CMAKE_SHARED_BOOL) \ -DJAS_ENABLE_LIBJPEG=ON \ -DJAS_ENABLE_OPENGL=OFF \ -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF \ -DJAS_ENABLE_DOC=OFF \ -DJAS_ENABLE_PROGRAMS=OFF $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MAKE) -C '$(BUILD_DIR)' -j 1 install endef