kumquat-buildroot/package/popperjs/popperjs.mk
Joeri Barbarien 239f440a17 package/popperjs: new package
Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-02 12:26:18 +01:00

20 lines
627 B
Makefile

################################################################################
#
# popperjs
#
################################################################################
POPPERJS_VERSION = 1.16.0
POPPERJS_SITE = $(call github,popperjs,popper-core,v$(POPPERJS_VERSION))
POPPERJS_LICENSE = MIT
POPPERJS_LICENSE_FILES = LICENSE.md
define POPPERJS_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/dist/umd/popper.min.js \
$(TARGET_DIR)/var/www/popperjs/js/popper.min.js
$(INSTALL) -m 0644 -D $(@D)/dist/umd/popper-utils.min.js \
$(TARGET_DIR)/var/www/popperjs/js/popper-utils.min.js
endef
$(eval $(generic-package))