]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - compat-libgcrypt/compat-libgcrypt.nm
compat-libgcrypt: New package
[people/arne_f/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
8release = 1
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
30 configure_options += \
31 --enable-noexecstack
32
33 test
34 make check
35 end
36
37 install
38 # Install just the library and no headers.
39 mkdir -pv %{BUILDROOT}%{libdir}
40
41 install -m 755 src/.libs/libgcrypt.so.11.8.3 %{BUILDROOT}%{libdir}
42 ln -svf libgcrypt.so.11.8.3 %{BUILDROOT}%{libdir}/libgcrypt.so.11
43 end
44end
45
46packages
47 package %{name}
48 provides
49 libgcrypt = %{thisver}
50 end
51
52 obsoletes
53 libgcrypt <= %{thisver}
54 end
55 end
56
57 package %{name}-debuginfo
58 template DEBUGINFO
59 end
60end