]> git.ipfire.org Git - ipfire-3.x.git/blame - compat-libgcrypt/compat-libgcrypt.nm
clamav: Update to 0.101.4
[ipfire-3.x.git] / compat-libgcrypt / compat-libgcrypt.nm
CommitLineData
9b93424f
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-libgcrypt
7version = 1.5.4
f420ae5b 8release = 2
9b93424f
MT
9thisapp = libgcrypt-%{version}
10
11groups = System/Libraries
12url = http://www.gnupg.org/
13license = LGPLv2.1+
14summary = A general-purpose cryptography library
15
16description
17 Libgcrypt is a general purpose crypto library based on the code used
18 in GNU Privacy Guard.
19end
20
21source_dl = ftp://ftp.gnupg.org/gcrypt/libgcrypt/
22sources = %{thisapp}.tar.bz2
23
24build
25 requires
26 gcc-c++
27 libgpg-error-devel
28 end
29
f420ae5b
MT
30 export LD_LIBRARY_PATH = %{DIR_APP}/src/.libs
31
9b93424f
MT
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
46end
47
48packages
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
62end