kumquat-buildroot/package/forge/forge.mk
Fabrice Fontaine 7677520a0d package/forge: add FORGE_CPE_ID_VENDOR
cpe:2.3🅰️digitalbazaar:forge is a valid CPE identifier for this package:

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-09-24 23:39:47 +02:00

25 lines
811 B
Makefile

################################################################################
#
# forge
#
################################################################################
FORGE_VERSION = 1.3.1
FORGE_SITE = https://registry.npmjs.org/node-forge/-
FORGE_SOURCE = node-forge-$(FORGE_VERSION).tgz
FORGE_LICENSE = BSD-3-Clause, GPL-2.0, vendored dependencies licenses probably not listed
FORGE_LICENSE_FILES = LICENSE
FORGE_CPE_ID_VENDOR = digitalbazaar
# Install .min.js as .js
define FORGE_INSTALL_TARGET_CMDS
$(INSTALL) -m 644 -D $(@D)/dist/forge.all.min.js \
$(TARGET_DIR)/var/www/forge.all.js
$(INSTALL) -m 644 -D $(@D)/dist/forge.min.js \
$(TARGET_DIR)/var/www/forge.js
$(INSTALL) -m 644 -D $(@D)/dist/prime.worker.min.js \
$(TARGET_DIR)/var/www/prime.worker.js
endef
$(eval $(generic-package))