]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - gnutls/gnutls.nm
Merge remote-tracking branch 'stevee/x-system-update'
[people/ms/ipfire-3.x.git] / gnutls / gnutls.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = gnutls
7 version = %{ver_maj}.%{ver_min}
8 ver_maj = 3.1
9 ver_min = 7
10 release = 1
11
12 groups = System/Libraries
13 url = http://www.gnu.org/software/gnutls/
14 license = LGPLv2.1+
15 summary = A general-purpose cryptography library.
16
17 description
18 GnuTLS is a project that aims to develop a library which provides
19 a secure layer, over a reliable transport layer. Currently the
20 GnuTLS library implements the proposed standards by the IETF's
21 TLS working group.
22 end
23
24 source_dl = ftp://ftp.gnutls.org/gcrypt/gnutls/v%{ver_maj}/
25 sources = %{thisapp}.tar.xz
26
27 build
28 requires
29 gettext
30 guile-devel
31 libgcrypt-devel
32 libtasn1-devel >= 3.0
33 lzo-devel
34 nettle-devel >= 2.5
35 perl
36 p11-kit-devel >= 0.14
37 readline-devel
38 zlib-devel
39 end
40
41 # Build library without an executable stack.
42 CFLAGS += -Wa,--noexecstack
43
44 configure_options += \
45 --with-included-libcfg \
46 --disable-srp-authentication \
47 --disable-openssl-compatibility \
48 --with-libgcrypt
49
50 #test
51 # export LD_LIBRARY_PATH=$(pwd)/lib/.libs
52 # make check
53 #end
54 end
55
56 packages
57 package %{name}
58 requires
59 nettle >= 2.5
60 p11-kit >= 0.14
61 end
62 end
63
64 package %{name}-devel
65 template DEVEL
66 end
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
71 end