]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - nettle/nettle.nm
kernel: Add support for aarch64
[people/ms/ipfire-3.x.git] / nettle / nettle.nm
CommitLineData
bc9614d0 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
bc9614d0
MT
4###############################################################################
5
802ea3af 6name = nettle
8eb73ff1 7version = 2.7.1
7666c69a 8release = 2
bc9614d0 9
802ea3af
MT
10groups = System/Libraries
11url = http://www.lysator.liu.se/~nisse/nettle/
12license = LGPL
13summary = A low-level cryptographic library.
bc9614d0 14
802ea3af 15description
bc9614d0
MT
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.
802ea3af
MT
20end
21
1a5b6555 22source_dl = http://www.lysator.liu.se/~nisse/archive/
802ea3af
MT
23
24build
25 requires
7666c69a 26 automake
802ea3af
MT
27 gmp-devel
28 m4
802ea3af
MT
29 end
30
7666c69a
MT
31 prepare_cmds
32 # for aarch64
33 for i in $(find . -name config.guess -or -name config.sub); do
34 cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i})
35 done
36 end
37
802ea3af
MT
38 configure_options += \
39 --enable-shared
40
41 test
42 make check
43 end
5924dccf
MT
44
45 install_cmds
46 # Fix library permissions.
47 chmod 755 %{BUILDROOT}%{libdir}/libhogweed.so.*
48 chmod 755 %{BUILDROOT}%{libdir}/libnettle.so.*
49 end
802ea3af
MT
50end
51
52packages
53 package %{name}
54
55 package %{name}-devel
b284b82f
MT
56 template DEVEL
57
58 requires += gmp-devel
802ea3af 59 end
1f9bc2f0
MT
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
802ea3af 64end