###############################################################################
name = nettle
-version = 3.4.1
+version = 3.8.1
release = 1
groups = System/Libraries
url = http://www.lysator.liu.se/~nisse/nettle/
license = LGPL
-summary = A low-level cryptographic library.
+summary = A low-level cryptographic library
description
Nettle is a cryptographic library that is designed to fit easily in
end
configure_options += \
- --enable-shared
-
- enable_fat = 0
-
- # Does not work. Binaries are immediately crashing
- #if "%{DISTRO_ARCH}" == "x86_64"
- # enable_fat = 1
- #end
-
- if "%{DISTRO_PLATFORM}" == "arm"
- enable_fat = 1
- end
-
- if "%{enable_fat}" == "1"
- configure_options += \
- --enable-fat
- end
+ --enable-shared \
+ --enable-fat
test
make check
end
-
- install_cmds
- # Fix library permissions.
- chmod 755 %{BUILDROOT}%{libdir}/libhogweed.so.*
- chmod 755 %{BUILDROOT}%{libdir}/libnettle.so.*
- end
end
packages