David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
commit | author | age
d29e49 1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
12 # Copyright 2016 Adam Stevko
13 #
14
15 include ../../../make-rules/shared-macros.mk
16
17 COMPONENT_NAME=        gwsocket
b00b66 18 COMPONENT_VERSION=    0.2
d29e49 19 COMPONENT_SUMMARY=    fast, standalone, language-agnostic WebSocket server RFC6455 compliant
20 COMPONENT_PROJECT_URL=    http://gwsocket.io/
21 COMPONENT_FMRI=        web/gwsocket
22 COMPONENT_CLASSIFICATION=Web Services/Application and Web Servers
23 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_URL=    https://github.com/allinurl/gwsocket/archive/v$(COMPONENT_VERSION).tar.gz
b00b66 26 COMPONENT_ARCHIVE_HASH= sha256:cafb0cbde1d8b366c74c1602a8d2e1bde054834aa5c618cfad5603a871ae4082
d29e49 27 COMPONENT_LICENSE=    MIT
28 COMPONENT_LICENSE_FILE=    $(COMPONENT_NAME).license
29
30 include $(WS_MAKE_RULES)/prep.mk
31 include $(WS_MAKE_RULES)/configure.mk
32 include $(WS_MAKE_RULES)/ips.mk
33
34 COMPONENT_PRE_CONFIGURE_ACTION= \
35     (cd $(SOURCE_DIR) && autoreconf -vif)
36
37 LDFLAGS+= -lsocket
38 LDFLAGS+= -lnsl
39
40 build:        $(BUILD_32)
41
42 install:    $(INSTALL_32)
43
44 test:        $(TEST_32)
45
46 REQUIRED_PACKAGES += system/library