7677520a0d
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>
25 lines
811 B
Makefile
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))
|