summaryrefslogtreecommitdiffstats
path: root/package/angular-websocket/angular-websocket.mk
diff options
context:
space:
mode:
authorBimal Jacob <Bimal.Jacob@rockwellcollins.com>2016-12-07 12:34:44 -0600
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-10 21:37:27 +0100
commit9de6da214fe32d7c8ad114ddf37d28a5ac342778 (patch)
treec04f432fd695abbe87c90f0e5a67db92f13cf688 /package/angular-websocket/angular-websocket.mk
parent69c365a9d1c820ba64482e06e0907471372f790d (diff)
downloadbuildroot-9de6da214fe32d7c8ad114ddf37d28a5ac342778.tar.gz
buildroot-9de6da214fe32d7c8ad114ddf37d28a5ac342778.zip
angular-websocket: new package
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>
Diffstat (limited to 'package/angular-websocket/angular-websocket.mk')
-rw-r--r--package/angular-websocket/angular-websocket.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/angular-websocket/angular-websocket.mk b/package/angular-websocket/angular-websocket.mk
new file mode 100644
index 0000000000..b422847e2d
--- /dev/null
+++ b/package/angular-websocket/angular-websocket.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# 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))
OpenPOWER on IntegriCloud