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 (c) 2012, Adam Stevko <adam.stevko@gmail.com>
13 # Copyright (c) 2018, Michal Nowak
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 1.8.0.0
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
24 COMPONENT_ARCHIVE_HASH
= sha256
:e1de683dd22ee0e3a6c6bbff269abe18ab0c9d7eb650204f125155b9005faca7
25 COMPONENT_PROJECT_URL
= http
://www.dest-unreach.org
/socat
/
26 COMPONENT_ARCHIVE_URL
= http
://www.dest-unreach.org
/socat
/download
/$(COMPONENT_ARCHIVE
)
28 include $(WS_TOP
)/make-rules
/common.mk
30 LDFLAGS
+= -L
$(OPENSSL_LIBDIR
)
32 CONFIGURE_OPTIONS
+= --enable-openssl_base
=$(OPENSSL_PREFIX
)
35 COMPONENT_PRE_CONFIGURE_ACTION
= \
36 ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
38 COMPONENT_TEST_TARGETS
= test
40 # Disable colors in test output
41 COMPONENT_TEST_ENV
+= TERM
=
43 COMPONENT_TEST_TRANSFORMS
= \
44 '-ne "s/\.\.\. .* OK/\.\.\. OK/"' \
45 '-ne "s/\.\.\. .* NO RESULT/\.\.\. NO RESULT/"' \
46 '-ne "s/\.\.\. .* timed out/\.\.\. timed out/"' \
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
53 REQUIRED_PACKAGES
+= $(READLINE_PKG
)
54 REQUIRED_PACKAGES
+= SUNWcs
55 REQUIRED_PACKAGES
+= system
/library