kumquat-buildroot/package/nettle/nettle.mk
Heiko Thiery 92f0ef5eaa package/nettle: switch _SITE to ftp.gnu.org
The former _SITE is not longer accessible without authentication.

The homepage is also unavailable, so use the one from the FSF directory.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr: also change the homepage]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-07-23 18:17:02 +02:00

31 lines
894 B
Makefile

################################################################################
#
# nettle
#
################################################################################
NETTLE_VERSION = 3.8
NETTLE_SITE = https://ftp.gnu.org/gnu/nettle
NETTLE_DEPENDENCIES = gmp
NETTLE_INSTALL_STAGING = YES
NETTLE_LICENSE = Dual GPL-2.0+/LGPL-3.0+
NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
NETTLE_CPE_ID_VENDOR = nettle_project
# don't include openssl support for (unused) examples as it has problems
# with static linking
NETTLE_CONF_OPTS = --disable-openssl
# ARM assembly requires v6+ ISA
ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y)
NETTLE_CONF_OPTS += --disable-assembler
endif
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
NETTLE_CONF_OPTS += --enable-arm-neon
else
NETTLE_CONF_OPTS += --disable-arm-neon
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))