include $(TOPDIR)/rules.mk
PKG_NAME:=nettle
-PKG_VERSION:=3.1
-PKG_RELEASE:=1
+PKG_VERSION:=3.5.1
+PKG_RELEASE:=2
PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/nettle
-PKG_MD5SUM:=075a3699cbab48ffa2ea6f9aad91e123
+PKG_HASH:=75cca1998761b02e16f2db56da52992aef622bf55a3b45ec538bc2eedadc9419
PKG_LICENSE:=GPL-2.0+
PKG_LICENSE_FILES:=COPYING
TITLE:=GNU crypto library
URL:=http://www.lysator.liu.se/~nisse/nettle/
DEPENDS+= +!LIBNETTLE_MINI:libgmp
+ ABI_VERSION:=7
endef
define Package/libnettle/config
CONFIGURE_ARGS += \
--enable-shared \
+ --enable-fat \
--disable-openssl \
--disable-documentation \
--enable-static
--enable-arm-neon
endif
+ifeq ($(ARCH),armeb)
+CONFIGURE_ARGS += \
+ --disable-assembler
+endif
+
define Build/Compile
$(call Build/Compile/Default, \
DESTDIR="$(PKG_INSTALL_DIR)" \