9de6da214f
Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> [Thomas: - Move to a submenu "External AngularJS plugins", much like we have an "External JQuery plugins" menu. Therefore, remove the "select BR2_PACKAGE_ANGULARJS" from the package, since angular-websocket/Config.in is now included only if BR2_PACKAGE_ANGULARJS is defined. - Add hash file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 lines
607 B
Makefile
19 lines
607 B
Makefile
################################################################################
|
|
#
|
|
# angular-websocket
|
|
#
|
|
################################################################################
|
|
|
|
ANGULAR_WEBSOCKET_VERSION = v2.0.0
|
|
ANGULAR_WEBSOCKET_SITE = $(call github,AngularClass,angular-websocket,$(ANGULAR_WEBSOCKET_VERSION))
|
|
ANGULAR_WEBSOCKET_LICENSE = MIT
|
|
ANGULAR_WEBSOCKET_LICENSE_FILES = LICENSE
|
|
|
|
# install .min.js as .js
|
|
define ANGULAR_WEBSOCKET_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/angular-websocket.min.js \
|
|
$(TARGET_DIR)/var/www/angular-websocket.js
|
|
endef
|
|
|
|
$(eval $(generic-package))
|