buildroot/package/qpdf/qpdf.mk
Fabrice Fontaine 958fa56ebf package/qpdf: add optional gnutls dependency
gnutls is an optional dependency since version 9.1.0 and
88bedb41fe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-22 22:35:28 +01:00

24 lines
651 B
Makefile

################################################################################
#
# qpdf
#
################################################################################
QPDF_VERSION = 9.1.0
QPDF_SITE = http://downloads.sourceforge.net/project/qpdf/qpdf/$(QPDF_VERSION)
QPDF_INSTALL_STAGING = YES
QPDF_LICENSE = Apache-2.0 or Artistic-2.0
QPDF_LICENSE_FILES = LICENSE.txt Artistic-2.0
QPDF_DEPENDENCIES = host-pkgconf zlib jpeg
QPDF_CONF_OPTS = --without-random
ifeq ($(BR2_PACKAGE_GNUTLS),y)
QPDF_CONF_OPTS += --enable-crypto-gnutls
QPDF_DEPENDENCIES += gnutls
else
QPDF_CONF_OPTS += --disable-crypto-gnutls
endif
$(eval $(autotools-package))