]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - compat-nettle/compat-nettle.nm
kernel: Drop ld.so placeholder files
[people/stevee/ipfire-3.x.git] / compat-nettle / compat-nettle.nm
CommitLineData
70e4c145
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-nettle
7version = 2.7.1
8release = 1
9thisapp = nettle-%{version}
10
11groups = System/Libraries
12url = http://www.lysator.liu.se/~nisse/nettle/
13license = LGPL
14summary = A low-level cryptographic library.
15
16description
17 Nettle is a cryptographic library that is designed to fit easily in
18 more or less any context: In crypto toolkits for object-oriented
19 languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
20 or even in kernel space.
21end
22
23source_dl = http://www.lysator.liu.se/~nisse/archive/
24
25build
26 requires
27 gmp-devel
28 m4
29 end
30
31 configure_options += \
32 --enable-shared
33
34 test
35 make check
36 end
37
38 install
39 # Install just the library and no headers.
40 mkdir -pv %{BUILDROOT}%{libdir}
41
42 install -m 755 libhogweed.so %{BUILDROOT}%{libdir}/libhogweed.so.2.5
43 ln -svf libhogweed.so.2.5 %{BUILDROOT}%{libdir}/libhogweed.so.2
44
45 install -m 755 libnettle.so %{BUILDROOT}%{libdir}/libnettle.so.4.7
46 ln -svf libnettle.so.4.7 %{BUILDROOT}%{libdir}/libnettle.so.4
47 end
48end
49
50packages
51 package %{name}
52 provides
53 nettle = %{thisver}
54 end
55
56 obsoletes
57 nettle <= %{thisver}
58 end
59 end
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
64end