1################################################################################ 2# 3# raptor 4# 5################################################################################ 6 7RAPTOR_VERSION = 2.0.15 8RAPTOR_SOURCE = raptor2-$(RAPTOR_VERSION).tar.gz 9RAPTOR_SITE = http://download.librdf.org/source 10RAPTOR_DEPENDENCIES = libxml2 libxslt 11RAPTOR_LICENSE = GPL-2.0+ or LGPL-2.1+ or Apache-2.0+ 12RAPTOR_LICENSE_FILES = LICENSE.txt 13RAPTOR_CPE_ID_VENDOR = librdf 14RAPTOR_CPE_ID_PRODUCT = raptor_rdf_syntax_library 15RAPTOR_INSTALL_STAGING = YES 16 17# Flag is added to make sure the patch is applied for the configure.ac of raptor. 18RAPTOR_AUTORECONF = YES 19 20# 0002-Calcualte-max-nspace-declarations-correctly-for-XML-.patch 21RAPTOR_IGNORE_CVES += CVE-2017-18926 22 23RAPTOR_CONF_OPTS =\ 24 --with-xml2-config=$(STAGING_DIR)/usr/bin/xml2-config \ 25 --with-xslt-config=$(STAGING_DIR)/usr/bin/xslt-config 26 27ifeq ($(BR2_PACKAGE_LIBCURL),y) 28RAPTOR_DEPENDENCIES += libcurl 29RAPTOR_CONF_OPTS += --with-curl-config=$(STAGING_DIR)/usr/bin/curl-config 30else 31RAPTOR_CONF_OPTS += --with-curl-config=no 32endif 33 34ifeq ($(BR2_PACKAGE_YAJL),y) 35RAPTOR_DEPENDENCIES += yajl 36RAPTOR_CONF_ENV += LIBS="-lm" 37RAPTOR_CONF_OPTS += --with-yajl=$(STAGING_DIR)/usr 38else 39RAPTOR_CONF_OPTS += --with-yajl=no 40endif 41 42ifeq ($(BR2_PACKAGE_ICU),y) 43RAPTOR_DEPENDENCIES += icu 44RAPTOR_CONF_OPTS += --with-icu-config=$(STAGING_DIR)/usr/bin/icu-config 45else 46RAPTOR_CONF_OPTS += --with-icu-config=no 47endif 48 49$(eval $(autotools-package)) 50