Use upstream provided tarball. Upstream switched to cmake. libjpeg dependency is now optional. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
664 B
Makefile
26 lines
664 B
Makefile
################################################################################
|
|
#
|
|
# jasper
|
|
#
|
|
################################################################################
|
|
|
|
JASPER_VERSION = 2.0.10
|
|
JASPER_SITE = http://www.ece.uvic.ca/~frodo/jasper/software
|
|
JASPER_INSTALL_STAGING = YES
|
|
JASPER_LICENSE = JasPer License Version 2.0
|
|
JASPER_LICENSE_FILES = LICENSE
|
|
JASPER_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=ON
|
|
JASPER_DEPENDENCIES += jpeg
|
|
else
|
|
JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|