Skip to contentSkip to conversation

package: add libwebsockets

PATCH New Andreas Wetzel 2 participants 2 messages Feb 6, 2013 – Apr 14, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package: add libwebsockets

---
 package/Config.in                      |    1 +
 package/libwebsockets/Config.in        |    8 ++++++++
 package/libwebsockets/libwebsockets.mk |   15 +++++++++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 package/libwebsockets/Config.in
 create mode 100644 package/libwebsockets/libwebsockets.mk
package/Config.in +1 -0
index 15d7ad6..dc0a80d 100644
@@ -476,6 +476,7 @@ source "package/libtirpc/Config.in"
 source "package/libtorrent/Config.in"
 source "package/libupnp/Config.in"
 source "package/libvncserver/Config.in"
+source "package/libwebsockets/Config.in"
 source "package/nss-mdns/Config.in"
 source "package/ortp/Config.in"
 source "package/zeromq/Config.in"
package/libwebsockets/Config.in new file +8 -0
new file mode 100644
index 0000000..c4d3beb
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBWEBSOCKETS
+	bool "libwebsockets"
+	help
+	  Libwebsockets is a lightweight pure C library built to use
+	  minimal CPU and memory resources, and provide fast throughput
+	  in both directions.
+
+	  http://libwebsockets.org/
package/libwebsockets/libwebsockets.mk new file +15 -0
new file mode 100644
index 0000000..a3d8936
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libwebsockets
+#
+################################################################################
+
+LIBWEBSOCKETS_VERSION = v1.1-chrome26-firefox18
+LIBWEBSOCKETS_SITE = http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot
+LIBWEBSOCKETS_LICENSE = LGPLv2.1
+LIBWEBSOCKETS_LICENSE_FILES = COPYING
+LIBWEBSOCKETS_DEPENDENCIES = zlib
+LIBWEBSOCKETS_AUTORECONF = YES
+LIBWEBSOCKETS_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package: add libwebsockets

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Andreas" == Andreas Wetzel <[email protected]> writes:

Andreas> Signed-off-by: Andreas Wetzel <[email protected]> Andreas> ---

 Andreas>  package/Config.in                      |    1 +
 Andreas>  package/libwebsockets/Config.in        |    8 ++++++++
 Andreas>  package/libwebsockets/libwebsockets.mk |   15 +++++++++++++++
 Andreas>  3 files changed, 24 insertions(+)
 Andreas>  create mode 100644 package/libwebsockets/Config.in
 Andreas>  create mode 100644 package/libwebsockets/libwebsockets.mk

Andreas> diff --git a/package/Config.in b/package/Config.in Andreas> index 15d7ad6..dc0a80d 100644
Andreas> --- a/package/Config.in
Andreas> +++ b/package/Config.in
Andreas> @@ -476,6 +476,7 @@ source "package/libtirpc/Config.in"

 Andreas>  source "package/libtorrent/Config.in"
 Andreas>  source "package/libupnp/Config.in"
 Andreas>  source "package/libvncserver/Config.in"
 Andreas> +source "package/libwebsockets/Config.in"
 Andreas>  source "package/nss-mdns/Config.in"
 Andreas>  source "package/ortp/Config.in"
 Andreas>  source "package/zeromq/Config.in"

Andreas> diff --git a/package/libwebsockets/Config.in b/package/libwebsockets/Config.in Andreas> new file mode 100644
Andreas> index 0000000..c4d3beb
Andreas> --- /dev/null
Andreas> +++ b/package/libwebsockets/Config.in
Andreas> @@ -0,0 +1,8 @@
Andreas> +config BR2_PACKAGE_LIBWEBSOCKETS
Andreas> + bool "libwebsockets"
Andreas> + help

You forgot to select BR2_PACKAGE_ZLIB, otherwise it looks good - Committed with that fixed, thanks.

I see that there's newer releases than 1.1. Care to send a followup patch to bump the version?

Signature · 1 line
Bye, Peter Korsgaard