Add nettle component.
[slapos.git] / component / nettle / buildout.cfg
1 [buildout]
2 extends = ../gmp/buildout.cfg
3
4 [nettle-lib-location.patch]
5 recipe = hexagonit.recipe.download
6 download-only = true
7 filename = ${:_buildout_section_name_}
8 url = ${:_profile_base_location_}/${:filename}
9 md5sum = 41dd0ce2a73487929bdc637b75dd62c9
10
11 [nettle]
12 recipe = slapos.recipe.cmmi
13 url = http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz
14 md5sum = 003d5147911317931dd453520eb234a5
15 patches =
16   ${nettle-lib-location.patch:location}/${nettle-lib-location.patch:filename}
17 configure-option =
18   --disable-static
19   --disable-assembler
20   --disable-openssl
21 environment =
22   CPPFLAGS=-I${gmp:location}/include
23   LDFLAGS=-L${gmp:location}/lib -Wl,-rpath=${gmp:location}/lib