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.
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.
12 # Copyright 2016 Predrag Zečević
13 # Copyright 2018 Michal Nowak
14 # Copyright 2020 Andreas Wacknitz
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 1.0.3
22 COMPONENT_SUMMARY
= shmux
- Shell Multiplexor
23 COMPONENT_PROJECT_URL
= https
://github.com
/shmux
/shmux
24 COMPONENT_FMRI
= shell/shmux
25 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
28 COMPONENT_ARCHIVE_URL
= \
29 https
://github.com
/shmux
/shmux
/archive
/v
$(COMPONENT_VERSION
).
tar.gz
30 COMPONENT_ARCHIVE_HASH
= \
31 sha256
:c9f8863e2550e23e633cf5fc7a9c4c52d287059f424ef78aba6ecd98390fb9ab
32 COMPONENT_LICENSE
= BSD-like
34 include $(WS_MAKE_RULES
)/common.mk
40 COMPONENT_PRE_CONFIGURE_ACTION
= \
41 $(CLONEY
) $(SOURCE_DIR
) $(@D
)
43 LDFLAGS
+= -lnsl
-lsocket
45 COMPONENT_TEST_TARGETS
= test
47 COMPONENT_TEST_TRANSFORMS
= \
49 '-e "/^running test/p"'
51 # Manually added dependencies
52 REQUIRED_PACKAGES
+= diagnostic
/fping
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES
+= system
/library