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_PARALLEL_BUILD
= yes
20 USE_DEFAULT_TEST_TRANSFORMS
= yes
21 include ..
/..
/..
/make-rules
/shared-macros.mk
23 COMPONENT_NAME
= nettle
24 COMPONENT_VERSION
= 3.10.1
25 COMPONENT_SUMMARY
= A low-level cryptographic library
26 COMPONENT_PROJECT_URL
= https
://www.lysator.liu.se
/~nisse
/nettle
/
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
29 COMPONENT_ARCHIVE_HASH
= sha256
:b0fcdd7fc0cdea6e80dcf1dd85ba794af0d5b4a57e26397eee3bc193272d9132
30 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/gnu
/nettle
/$(COMPONENT_ARCHIVE
)
31 COMPONENT_FMRI
= library
/nettle
32 COMPONENT_CLASSIFICATION
= System
/Libraries
33 COMPONENT_LICENSE
= LGPLv3
, GPLv3
, GPLv2
35 include $(WS_MAKE_RULES
)/common.mk
39 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
-f
-i
)
41 COMPONENT_POST_INSTALL_ACTION
+= $(RM
) $(PROTOUSRSHAREDIR
)/info/dir ;
43 CONFIGURE_OPTIONS
+= --disable-static
45 COMPONENT_TEST_TRANSFORMS
+= \
47 '-e "/tests passed/p" '
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES
+= library
/gmp
51 REQUIRED_PACKAGES
+= system
/library