package/libraw: add optional support for jasper

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2016-01-30 17:17:14 +01:00 committed by Peter Korsgaard
parent 7f81111da0
commit e712000dbe

View File

@ -19,4 +19,11 @@ LIBRAW_CONF_OPTS += \
LIBRAW_LICENSE = LGPLv2.1 or CDDL 1.0 or LibRaw Software License 27032010
LIBRAW_LICENSE_FILES = LICENSE.LGPL LICENSE.CDDL LICENSE.LibRaw.pdf README
ifeq ($(BR2_PACKAGE_JASPER),y)
LIBRAW_CONF_OPTS += --enable-jasper
LIBRAW_DEPENDENCIES += jasper
else
LIBRAW_CONF_OPTS += --disable-jasper
endif
$(eval $(autotools-package))