kumquat-buildroot/package/liburiparser/liburiparser.mk
Fabrice Fontaine e1d4b088fb package/liburiparser: add CPE variables
cpe:2.3🅰️uriparser_project:uriparser is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Auriparser_project%3Auriparser

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-03-03 13:42:00 +01:00

28 lines
939 B
Makefile

################################################################################
#
# liburiparser
#
################################################################################
LIBURIPARSER_VERSION = 0.9.4
LIBURIPARSER_SOURCE = uriparser-$(LIBURIPARSER_VERSION).tar.bz2
LIBURIPARSER_SITE = https://github.com/uriparser/uriparser/releases/download/uriparser-$(LIBURIPARSER_VERSION)
LIBURIPARSER_LICENSE = BSD-3-Clause
LIBURIPARSER_LICENSE_FILES = COPYING
LIBURIPARSER_CPE_ID_VENDOR = uriparser_project
LIBURIPARSER_CPE_ID_PRODUCT = uriparser
LIBURIPARSER_INSTALL_STAGING = YES
LIBURIPARSER_CONF_OPTS = -DURIPARSER_BUILD_DOCS=OFF -DURIPARSER_BUILD_TESTS=OFF
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
LIBURIPARSER_CONF_OPTS += -DBUILD_SHARED_LIBS=ON
else
LIBURIPARSER_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF
endif
ifeq ($(BR2_USE_WCHAR),)
LIBURIPARSER_CONF_OPTS += -DURIPARSER_BUILD_WCHAR_T=OFF
endif
$(eval $(cmake-package))