]>
Commit | Line | Data |
---|---|---|
2e9748cc | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
2e9748cc MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = libgcrypt |
7 | version = 1.5.0 | |
3b8d1022 | 8 | release = 2 |
2e9748cc | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.gnupg.org/ | |
12 | license = LGPLv2.1+ | |
13 | summary = A general-purpose cryptography library. | |
2e9748cc | 14 | |
2e9748cc | 15 | |
802ea3af | 16 | description |
2e9748cc MT |
17 | Libgcrypt is a general purpose crypto library based on the code used \ |
18 | in GNU Privacy Guard. | |
802ea3af MT |
19 | end |
20 | ||
21 | source_dl = | |
22 | sources = %{thisapp}.tar.bz2 | |
23 | ||
24 | build | |
25 | requires | |
26 | gcc-c++ | |
27 | libgpg-error-devel | |
28 | end | |
29 | ||
30 | configure_options += \ | |
3b8d1022 | 31 | --libdir=/%{lib} \ |
802ea3af MT |
32 | --enable-noexecstack \ |
33 | ||
34 | install_cmds | |
3b8d1022 MT |
35 | mkdir -pv %{BUILDROOT}%{libdir} |
36 | rm -vf %{BUILDROOT}/%{lib}/libgcrypt.so | |
37 | ln -sfv ../../%{lib}/libgcrypt.so.11 %{BUILDROOT}%{libdir}/libgcrypt.so | |
802ea3af MT |
38 | end |
39 | end | |
40 | ||
41 | packages | |
42 | package %{name} | |
1f9bc2f0 | 43 | |
802ea3af MT |
44 | package %{name}-devel |
45 | template DEVEL | |
1f9bc2f0 | 46 | |
802ea3af MT |
47 | requires = libgpg-error-devel |
48 | end | |
1f9bc2f0 MT |
49 | |
50 | package %{name}-debuginfo | |
51 | template DEBUGINFO | |
52 | end | |
802ea3af | 53 | end |