build trafficserver with our own libxml2 and xz-utlis.
[slapos.git] / component / trafficserver / buildout.cfg
1 [buildout]
2 extends =
3   ../../component/lua/buildout.cfg
4   ../../component/hwloc/buildout.cfg
5   ../../component/pkgconfig/buildout.cfg
6   ../../component/libtool/buildout.cfg
7   ../../component/make/buildout.cfg
8   ../../component/openssl/buildout.cfg
9   ../../component/tcl/buildout.cfg
10   ../../component/libxml2/buildout.cfg
11   ../../component/pcre/buildout.cfg
12   ../../component/libcap/buildout.cfg
13   ../../component/flex/buildout.cfg
14   ../../component/ncurses/buildout.cfg
15   ../../component/curl/buildout.cfg
16   ../../component/zlib/buildout.cfg
17
18 parts =
19   trafficserver
20
21 [trafficserver]
22 recipe = slapos.recipe.cmmi
23 url = http://apache.claz.org/trafficserver/trafficserver-4.2.1.tar.bz2
24 md5sum = 18f7d56650cba260c8cce3bf4abfa56c
25 configure-options =
26   --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
27   --with-openssl=${openssl:location}
28   --with-xml=libxml2
29   --with-libxml2=${libxml2:location}
30   --with-pcre=${pcre:location}
31   --with-lua=${lua:location}
32   --with-ncurses=${ncurses:location}
33   --with-tcl=${tcl:location}/lib/
34   --with-lzma=${xz-utils:location}
35   --with-zlib=${zlib:location}
36   --disable-hwloc
37   --enable-experimental-plugins
38 environment =
39   PATH=${make:location}/bin:${libtool:location}/bin:${pkgconfig:location}/bin:%(PATH)s
40   LDFLAGS =-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${tcl:location}/lib -Wl,-rpath=${tcl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
41 make-target =
42   check
43   install