2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# nettle
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-01-30 14:24:23 +01:00
|
|
|
NETTLE_VERSION = 3.2
|
2012-12-28 11:01:08 +01:00
|
|
|
NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
|
|
|
|
NETTLE_DEPENDENCIES = gmp
|
|
|
|
NETTLE_INSTALL_STAGING = YES
|
2015-10-05 16:25:41 +02:00
|
|
|
NETTLE_LICENSE = Dual GPLv2+/LGPLv3+
|
|
|
|
NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
|
2013-11-06 11:53:43 +01:00
|
|
|
# don't include openssl support for (unused) examples as it has problems
|
|
|
|
# with static linking
|
2014-09-27 21:32:44 +02:00
|
|
|
NETTLE_CONF_OPTS = --disable-openssl
|
2012-12-28 11:01:08 +01:00
|
|
|
|
2013-04-28 04:31:24 +02:00
|
|
|
# ARM assembly requires v6+ ISA
|
2014-10-21 22:26:57 +02:00
|
|
|
ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
NETTLE_CONF_OPTS += --disable-assembler
|
2013-04-28 04:31:24 +02:00
|
|
|
endif
|
|
|
|
|
2015-10-05 16:25:41 +02:00
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
NETTLE_CONF_OPTS += --enable-arm-neon
|
2013-04-28 04:31:24 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
NETTLE_CONF_OPTS += --disable-arm-neon
|
2013-04-28 04:31:24 +02:00
|
|
|
endif
|
|
|
|
|
2012-12-28 11:01:08 +01:00
|
|
|
$(eval $(autotools-package))
|