bentley b01da561db Import wslay-1.1.0.
Wslay is a WebSocket library written in C. It implements the protocol
version 13 described in RFC 6455. This library offers 2 levels of API:
event-based API and frame-based low-level API. For event-based API, it is
suitable for non-blocking reactor pattern style. You can set callbacks in
various events. For frame-based API, you can send WebSocket frame directly.
Wslay only supports data transfer part of WebSocket protocol and does not
perform opening handshake in HTTP.

ok sthen@
2019-03-08 03:11:18 +00:00

26 lines
522 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2019/03/08 03:11:18 bentley Exp $
COMMENT = websocket library
V = 1.1.0
DISTNAME = wslay-$V
SHARED_LIBS += wslay 0.0 # 1.0
CATEGORIES = www
HOMEPAGE = https://tatsuhiro-t.github.io/wslay/
# MIT
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://github.com/tatsuhiro-t/wslay/releases/download/release-$V/
BUILD_DEPENDS = devel/cunit
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.include <bsd.port.mk>