menu "Javascript"
source "package/angularjs/Config.in"
+if BR2_PACKAGE_ANGULARJS
+menu "External AngularJS plugins"
+ source "package/angular-websocket/Config.in"
+endmenu
+endif
source "package/bootstrap/Config.in"
source "package/explorercanvas/Config.in"
source "package/flot/Config.in"
--- /dev/null
+config BR2_PACKAGE_ANGULAR_WEBSOCKET
+ bool "angular-websocket"
+ help
+ An AngularJS WebSocket service for connecting client
+ applications to servers.
+
+ https://github.com/AngularClass/angular-websocket
--- /dev/null
+################################################################################
+#
+# 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))