From 7328a130eeeca8679aa2dab239726daf77433263 Mon Sep 17 00:00:00 2001 From: jca Date: Thu, 12 Nov 2015 12:25:51 +0000 Subject: [PATCH] Import libwebsockets; from maintainer Adam Wolk, ok sthen@ cat pkg/DESCR: Libwebsockets is a lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions. --- www/libwebsockets/Makefile | 31 +++++++++++++++++++++++++++++++ www/libwebsockets/distinfo | 2 ++ www/libwebsockets/pkg/DESCR | 2 ++ www/libwebsockets/pkg/PLIST | 6 ++++++ 4 files changed, 41 insertions(+) create mode 100644 www/libwebsockets/Makefile create mode 100644 www/libwebsockets/distinfo create mode 100644 www/libwebsockets/pkg/DESCR create mode 100644 www/libwebsockets/pkg/PLIST diff --git a/www/libwebsockets/Makefile b/www/libwebsockets/Makefile new file mode 100644 index 00000000000..477cd5a475c --- /dev/null +++ b/www/libwebsockets/Makefile @@ -0,0 +1,31 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/11/12 12:25:51 jca Exp $ + +COMMENT = lightweight C library for fast bi-directional websockets + +DISTNAME = libwebsockets-1.5-chrome47-firefox41 +PKGNAME = libwebsockets-1.5 + +SHARED_LIBS = websockets 0.0 # 5 + +CATEGORIES = www + +HOMEPAGE = https://libwebsockets.org + +MAINTAINER = Adam Wolk + +# LGPL2 + static link exception +PERMIT_PACKAGE_CDROM = Yes + +MASTER_SITES = http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/ + +WANTLIB += crypto m ssl z + +SEPARATE_BUILD = Yes + +MODULES = devel/cmake + +CONFIGURE_ARGS += -DLWS_WITHOUT_TESTAPPS=ON + +NO_TEST = Yes + +.include diff --git a/www/libwebsockets/distinfo b/www/libwebsockets/distinfo new file mode 100644 index 00000000000..590e8b57eb2 --- /dev/null +++ b/www/libwebsockets/distinfo @@ -0,0 +1,2 @@ +SHA256 (libwebsockets-1.5-chrome47-firefox41.tar.gz) = J/Pi29BLg3WSP2NTU2x0FVmiHdRxP4wwKyNEHW/oJAM= +SIZE (libwebsockets-1.5-chrome47-firefox41.tar.gz) = 2845499 diff --git a/www/libwebsockets/pkg/DESCR b/www/libwebsockets/pkg/DESCR new file mode 100644 index 00000000000..9ab85d2f284 --- /dev/null +++ b/www/libwebsockets/pkg/DESCR @@ -0,0 +1,2 @@ +Libwebsockets is a lightweight pure C library built to use minimal CPU and +memory resources, and provide fast throughput in both directions. diff --git a/www/libwebsockets/pkg/PLIST b/www/libwebsockets/pkg/PLIST new file mode 100644 index 00000000000..e869648d98e --- /dev/null +++ b/www/libwebsockets/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2015/11/12 12:25:51 jca Exp $ +include/libwebsockets.h +include/lws_config.h +lib/libwebsockets.a +@lib lib/libwebsockets.so.${LIBwebsockets_VERSION} +lib/pkgconfig/libwebsockets.pc