]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - nettle/nettle.nm
nettle: Fix library permissions.
[people/ms/ipfire-3.x.git] / nettle / nettle.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = nettle
7 version = 2.4
8 release = 2
9
10 groups = System/Libraries
11 url = http://www.lysator.liu.se/~nisse/nettle/
12 license = LGPL
13 summary = A low-level cryptographic library.
14
15 description
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.
20 end
21
22 source_dl = http://www.lysator.liu.se/~nisse/archive/
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
37
38 install_cmds
39 # Fix library permissions.
40 chmod 755 %{BUILDROOT}%{libdir}/libhogweed.so.*
41 chmod 755 %{BUILDROOT}%{libdir}/libnettle.so.*
42 end
43 end
44
45 packages
46 package %{name}
47
48 package %{name}-devel
49 template DEVEL
50
51 requires += gmp-devel
52 end
53
54 package %{name}-debuginfo
55 template DEBUGINFO
56 end
57 end