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 2016 Alexander Pyhalov
14 # Copyright 2019 Michal Nowak
15 # Copyright 2024 Andreas Wacknitz
19 USE_DEFAULT_TEST_TRANSFORMS
= yes
20 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_NAME
= nettle
23 COMPONENT_VERSION
= 3.10
24 COMPONENT_SUMMARY
= A low-level cryptographic library
25 COMPONENT_PROJECT_URL
= https
://www.lysator.liu.se
/~nisse
/nettle
/
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
= sha256
:b4c518adb174e484cb4acea54118f02380c7133771e7e9beb98a0787194ee47c
29 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/gnu
/nettle
/$(COMPONENT_ARCHIVE
)
30 COMPONENT_FMRI
= library
/nettle
31 COMPONENT_CLASSIFICATION
= System
/Libraries
32 COMPONENT_LICENSE
= LGPLv3
, GPLv3
, GPLv2
34 include $(WS_MAKE_RULES
)/common.mk
38 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
-f
-i
)
40 CONFIGURE_OPTIONS
+= --disable-static
42 COMPONENT_TEST_TRANSFORMS
+= \
44 '-e "/tests passed/p" '
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES
+= library
/gmp
48 REQUIRED_PACKAGES
+= system
/library