openexr: make architecture independent
[oi-userland.git] / components / library / libssh2 / Makefile
blobfce7e5217418fde1f3a489208ec1c5a0e08fa507
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2019, Michal Nowak
25 # Copyright (c) 2022, Niklas Poslovski
27 BUILD_BITS= 32_and_64
28 USE_OPENSSL11= yes
29 USE_DEFAULT_TEST_TRANSFORMS= yes
30 include ../../../make-rules/shared-macros.mk
32 COMPONENT_NAME= libssh2
33 COMPONENT_VERSION= 1.10.0
34 COMPONENT_PROJECT_URL= https://www.libssh2.org/
35 COMPONENT_SUMMARY= libssh2 - client-side C library implementing the SSH2 protocol
36 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
37 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
38 COMPONENT_ARCHIVE_HASH= \
39 sha256:2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51
40 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
41 COMPONENT_FMRI= library/libssh2
42 COMPONENT_LICENSE= BSD
43 COMPONENT_CLASSIFICATION= System/Security
45 include $(WS_MAKE_RULES)/common.mk
47 CONFIGURE_OPTIONS += --enable-shared
48 CONFIGURE_OPTIONS += --disable-static
49 CONFIGURE_OPTIONS += --with-libssl-prefix=/usr/openssl/1.1
51 # Test suite needs this
52 unexport SHELLOPTS
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES += library/security/openssl-11
56 REQUIRED_PACKAGES += library/zlib
57 REQUIRED_PACKAGES += system/library
58 REQUIRED_PACKAGES += system/library/security/libgcrypt