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
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 2018 Alexander Pyhalov
14 # Copyright (c) 2021 Tim Mooney. All rights reserved
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= libsodium
21 COMPONENT_VERSION
= 1.0.20
22 COMPONENT_SUMMARY
= Sodium is an easy-to-use software library for encryption
, decryption
, signatures
, password hashing
, and more
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:ebb65ef6ca439333c2bb41a0c1990587288da07f6c7fd07cb3a18cc18d30ce19
26 COMPONENT_ARCHIVE_URL
= https
://download.libsodium.org
/$(COMPONENT_NAME
)/releases
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= https
://download.libsodium.org
/doc
/
28 COMPONENT_FMRI
= library
/security
/libsodium
29 COMPONENT_CLASSIFICATION
= System
/Security
30 COMPONENT_LICENSE
= ISC
31 COMPONENT_LICENSE_FILE
= LICENSE
33 include $(WS_MAKE_RULES
)/common.mk
35 CONFIGURE_OPTIONS
+= --disable-static
37 # Auto-generated dependencies
38 REQUIRED_PACKAGES
+= system
/library