* [Buildroot] [PATCH] angular-websocket: new package
@ 2016-12-07 18:34 Matt Weber
2016-12-10 20:38 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Matt Weber @ 2016-12-07 18:34 UTC (permalink / raw)
To: buildroot
From: Bimal Jacob <Bimal.Jacob@rockwellcollins.com>
Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
---
package/Config.in | 1 +
package/angular-websocket/Config.in | 8 ++++++++
package/angular-websocket/angular-websocket.mk | 18 ++++++++++++++++++
3 files changed, 27 insertions(+)
create mode 100644 package/angular-websocket/Config.in
create mode 100644 package/angular-websocket/angular-websocket.mk
diff --git a/package/Config.in b/package/Config.in
index 664d0d9..27bc6be 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1172,6 +1172,7 @@ menu "Networking"
source "package/alljoyn-base/Config.in"
source "package/alljoyn-tcl/Config.in"
source "package/alljoyn-tcl-base/Config.in"
+ source "package/angular-websocket/Config.in"
source "package/batman-adv/Config.in"
source "package/c-ares/Config.in"
source "package/canfestival/Config.in"
diff --git a/package/angular-websocket/Config.in b/package/angular-websocket/Config.in
new file mode 100644
index 0000000..5878e84
--- /dev/null
+++ b/package/angular-websocket/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_ANGULAR_WEBSOCKET
+ bool "angular-websocket"
+ select BR2_PACKAGE_ANGULARJS
+ help
+ An AngularJS WebSocket service for connecting client
+ applications to servers.
+
+ https://github.com/AngularClass/angular-websocket
diff --git a/package/angular-websocket/angular-websocket.mk b/package/angular-websocket/angular-websocket.mk
new file mode 100644
index 0000000..b422847
--- /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))
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] angular-websocket: new package
2016-12-07 18:34 [Buildroot] [PATCH] angular-websocket: new package Matt Weber
@ 2016-12-10 20:38 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-10 20:38 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 7 Dec 2016 12:34:44 -0600, Matt Weber wrote:
> From: Bimal Jacob <Bimal.Jacob@rockwellcollins.com>
>
> Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com>
> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
> ---
> package/Config.in | 1 +
> package/angular-websocket/Config.in | 8 ++++++++
> package/angular-websocket/angular-websocket.mk | 18 ++++++++++++++++++
> 3 files changed, 27 insertions(+)
> create mode 100644 package/angular-websocket/Config.in
> create mode 100644 package/angular-websocket/angular-websocket.mk
Applied to master, with the following changes:
[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.]
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-10 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-07 18:34 [Buildroot] [PATCH] angular-websocket: new package Matt Weber
2016-12-10 20:38 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox