]>
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 |
70cde306 MT |
7 | version = 2.5 |
8 | release = 1 | |
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 | |
26 | gmp-devel | |
27 | m4 | |
28 | openssl-devel | |
29 | end | |
30 | ||
31 | configure_options += \ | |
32 | --enable-shared | |
33 | ||
34 | test | |
35 | make check | |
36 | end | |
5924dccf MT |
37 | |
38 | install_cmds | |
39 | # Fix library permissions. | |
40 | chmod 755 %{BUILDROOT}%{libdir}/libhogweed.so.* | |
41 | chmod 755 %{BUILDROOT}%{libdir}/libnettle.so.* | |
42 | end | |
802ea3af MT |
43 | end |
44 | ||
45 | packages | |
46 | package %{name} | |
47 | ||
48 | package %{name}-devel | |
b284b82f MT |
49 | template DEVEL |
50 | ||
51 | requires += gmp-devel | |
802ea3af | 52 | end |
1f9bc2f0 MT |
53 | |
54 | package %{name}-debuginfo | |
55 | template DEBUGINFO | |
56 | end | |
802ea3af | 57 | end |