1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
6 name = compat-libgcrypt
9 thisapp = libgcrypt-%{version}
11 groups = System/Libraries
12 url = http://www.gnupg.org/
14 summary = A general-purpose cryptography library
17 Libgcrypt is a general purpose crypto library based on the code used
21 source_dl = ftp://ftp.gnupg.org/gcrypt/libgcrypt/
22 sources = %{thisapp}.tar.bz2
30 export LD_LIBRARY_PATH = %{DIR_APP}/src/.libs
32 configure_options += \
40 # Install just the library and no headers.
41 mkdir -pv %{BUILDROOT}%{libdir}
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
51 libgcrypt = %{thisver}
55 libgcrypt <= %{thisver}
59 package %{name}-debuginfo