version up : gmp-6.0.0a still keeping gmp-4 for gcc.
[slapos.git] / component / gnutls / buildout.cfg
1 [buildout]
2 extends =
3   ../gmp/buildout.cfg
4   ../nettle/buildout.cfg
5   ../p11-kit/buildout.cfg
6   ../pkgconfig/buildout.cfg
7   ../xz-utils/buildout.cfg
8   ../zlib/buildout.cfg
9
10 parts = gnutls
11
12 [gpg-error]
13 recipe = slapos.recipe.cmmi
14 url = ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.13.tar.bz2
15 md5sum = fe0cfa7e15262ef8fdeee366109e9ff6
16
17 [gcrypt]
18 recipe = slapos.recipe.cmmi
19 url = ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.1.tar.bz2
20 md5sum = a5a5060dc2f80bcac700ab0236ea47dc
21 configure-options =
22   --with-gpg-error-prefix=${gpg-error:location}
23 environment =
24   CPPFLAGS=-I${gpg-error:location}/include
25   LDFLAGS=-L${gpg-error:location}/lib -Wl,-rpath=${gpg-error:location}/lib
26
27 [gnutls]
28 recipe = slapos.recipe.cmmi
29 url = ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.15.tar.xz
30 md5sum = ec3b06f80e312137386c5d322183ca5a
31 depends =
32   ${gmp:version}
33 configure-options =
34   --disable-static
35   --disable-libdane
36   --disable-guile
37   --disable-crywrap
38   --without-tpm
39 environment =
40   PATH=${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
41   PKG_CONFIG_PATH=${nettle:location}/lib/pkgconfig:${p11-kit:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig
42   CPPFLAGS=-I${gmp:location}/include -I${zlib:location}/include
43   LDFLAGS=-L${gmp:location}/lib -Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${nettle:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib