vim: update to 9.1.0984
[oi-userland.git] / components / library / cxxtools / Makefile
blobd117fc19c656d6ff83a10881319b98e802cb0078
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Jim Klimov
14 # Copyright 2022 Friedrich Kink
17 OPENSSL_VERSION= 3.1
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= cxxtools
21 COMPONENT_VERSION= 3.0
22 COMPONENT_REVISION= 1
23 COMPONENT_SUMMARY= Cxxtools is a comprehensive C++ class library for Unix and Linux
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= sha256:07b18037fb0983f6292f5c8d53e2369e9e7a9711df2c9ad50838aacbc8c62f7c
27 COMPONENT_ARCHIVE_URL= http://www.tntnet.org/download/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL= http://www.tntnet.org/cxxtools.html
29 COMPONENT_FMRI= library/$(COMPONENT_NAME)
30 COMPONENT_CLASSIFICATION=System/Libraries
31 COMPONENT_LICENSE= LGPLv2.1
32 COMPONENT_LICENSE_FILE= COPYING
34 TEST_TARGET= $(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 CXXFLAGS += -std=c++11
39 CONFIGURE_OPTIONS += --sysconfdir=/etc
40 CONFIGURE_OPTIONS += --with-ssl=yes
41 CONFIGURE_OPTIONS += LDFLAGS=-L$(OPENSSL_LIBDIR)
42 CONFIGURE_OPTIONS += CPPFLAGS=-I$(OPENSSL_INCDIR)
43 CONFIGURE_OPTIONS += PKG_CONFIG_PATH=$(OPENSSL_PKG_CONFIG_PATH)
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
47 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
48 REQUIRED_PACKAGES += library/security/openssl-31
49 REQUIRED_PACKAGES += shell/ksh93
50 REQUIRED_PACKAGES += system/library
51 REQUIRED_PACKAGES += system/library/math