]> git.ipfire.org Git - ipfire-3.x.git/blob - compat-libgcrypt/compat-libgcrypt.nm
kernel: Update to 5.3.7
[ipfire-3.x.git] / compat-libgcrypt / compat-libgcrypt.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = compat-libgcrypt
7 version = 1.5.4
8 release = 2
9 thisapp = libgcrypt-%{version}
10
11 groups = System/Libraries
12 url = http://www.gnupg.org/
13 license = LGPLv2.1+
14 summary = A general-purpose cryptography library
15
16 description
17 Libgcrypt is a general purpose crypto library based on the code used
18 in GNU Privacy Guard.
19 end
20
21 source_dl = ftp://ftp.gnupg.org/gcrypt/libgcrypt/
22 sources = %{thisapp}.tar.bz2
23
24 build
25 requires
26 gcc-c++
27 libgpg-error-devel
28 end
29
30 export LD_LIBRARY_PATH = %{DIR_APP}/src/.libs
31
32 configure_options += \
33 --enable-noexecstack
34
35 test
36 make check
37 end
38
39 install
40 # Install just the library and no headers.
41 mkdir -pv %{BUILDROOT}%{libdir}
42
43 install -m 755 src/.libs/libgcrypt.so.11.8.3 %{BUILDROOT}%{libdir}
44 ln -svf libgcrypt.so.11.8.3 %{BUILDROOT}%{libdir}/libgcrypt.so.11
45 end
46 end
47
48 packages
49 package %{name}
50 provides
51 libgcrypt = %{thisver}
52 end
53
54 obsoletes
55 libgcrypt <= %{thisver}
56 end
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62 end