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>
This commit is contained in:
Joeri Barbarien 2020-12-08 19:16:38 +01:00 committed by Thomas Petazzoni
parent 08c11e21a7
commit 239f440a17
5 changed files with 30 additions and 0 deletions

View File

@ -2545,6 +2545,7 @@ F: package/perl-net-ssh2/
F: package/perl-net-telnet/
F: package/perl-path-class/
F: package/pigz/
F: package/popperjs/
F: package/xenomai/
F: support/scripts/size-stats
F: support/testing/tests/package/test_perl_lwp_protocol_https.py

View File

@ -1603,6 +1603,7 @@ endif
source "package/json-javascript/Config.in"
source "package/jszip/Config.in"
source "package/openlayers/Config.in"
source "package/popperjs/Config.in"
source "package/spidermonkey/Config.in"
source "package/vuejs/Config.in"
endmenu

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_POPPERJS
bool "popperjs"
help
Popper.js, a JavaScript Tooltip & Popover Positioning Engine.
https://popper.js.org

View File

@ -0,0 +1,3 @@
# Locally computed:
sha256 83eecef51d10826faca2cd5cabb344e0bef6d4127d7e728db9e4d8308b7b15d1 popperjs-1.16.0.tar.gz
sha256 2961310ed05cd9373a08b8191c071425a7fede0ca5d807ca38fa5f5f61c5b834 LICENSE.md

View File

@ -0,0 +1,19 @@
################################################################################
#
# 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))