1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Libraries
11 url = http://www.lysator.liu.se/~nisse/nettle/
13 summary = A low-level cryptographic library.
16 Nettle is a cryptographic library that is designed to fit easily in
17 more or less any context: In crypto toolkits for object-oriented
18 languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
19 or even in kernel space.
22 source_dl = http://www.lysator.liu.se/~nisse/archive/
30 configure_options += \
35 # Does not work. Binaries are immediately crashing
36 #if "%{DISTRO_ARCH}" == "x86_64"
40 if "%{DISTRO_PLATFORM}" == "arm"
44 if "%{enable_fat}" == "1"
45 configure_options += \
54 # Fix library permissions.
55 chmod 755 %{BUILDROOT}%{libdir}/libhogweed.so.*
56 chmod 755 %{BUILDROOT}%{libdir}/libnettle.so.*
66 requires += gmp-devel >= 5.0.0
69 package %{name}-debuginfo