]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = nettle |
8eb73ff1 | 7 | version = 2.7.1 |
7666c69a | 8 | release = 2 |
bc9614d0 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.lysator.liu.se/~nisse/nettle/ | |
12 | license = LGPL | |
13 | summary = A low-level cryptographic library. | |
bc9614d0 | 14 | |
802ea3af | 15 | description |
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 |
20 | end |
21 | ||
1a5b6555 | 22 | source_dl = http://www.lysator.liu.se/~nisse/archive/ |
802ea3af MT |
23 | |
24 | build | |
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 |
50 | end |
51 | ||
52 | packages | |
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 | 64 | end |