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.
23 lines
794 B
23 lines
794 B
# 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 := 2.0.14
|
|
$(PKG)_CHECKSUM := 85266eea728f8b14365db9eaf1edc7be4c348704e562bb05095b9a077cf1a97b
|
|
$(PKG)_GH_CONF := mdadams/jasper/tags, version-
|
|
$(PKG)_DEPS := cc jpeg
|
|
|
|
define $(PKG)_BUILD
|
|
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
|
|
-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
|