rename the patch filename so that patch is well updated.
[slapos.git] / component / xtrabackup / buildout.cfg
1 # xtrabackup: hot backup utility for MySQL
2 # http://www.percona.com/
3 # Depends on SlapOS patched buildout for _profile_base_location_ functionality
4 [buildout]
5 extends =
6   ../autoconf/buildout.cfg
7   ../automake/buildout.cfg
8   ../bison/buildout.cfg
9   ../flex/buildout.cfg
10   ../libtool/buildout.cfg
11   ../ncurses/buildout.cfg
12   ../readline/buildout.cfg
13   ../zlib/buildout.cfg
14
15 parts =
16   xtrabackup
17
18 find-links =
19     http://www.nexedi.org/static/packages/source/slapos.buildout/
20
21 versions = versions
22
23 [xtrabackup-build-patch-download]
24 recipe = hexagonit.recipe.download
25 url = ${:_profile_base_location_}/${:filename}
26 md5sum = e018df8bb3ed672891388556b8e91e35
27 download-only = true
28 filename = xtrabackup-1.6.2_build.patch
29
30 [allow_force_ibbackup.patch]
31 recipe = hexagonit.recipe.download
32 url = ${:_profile_base_location_}/${:filename}
33 md5sum = d642ea7b30d1322a516fbece4ee100e0
34 download-only = true
35 filename = ${:_buildout_section_name_}
36
37 [xtrabackup]
38 recipe = hexagonit.recipe.cmmi
39 url = http://www.percona.com/redir/downloads/XtraBackup/xtrabackup-1.6.2/source/xtrabackup-1.6.2.tar.gz
40 md5sum = 933243ae362156c98f1211eb87b3b4ea
41 make-binary = true
42 patches =
43   ${xtrabackup-build-patch-download:location}/${xtrabackup-build-patch-download:filename}
44   ${allow_force_ibbackup.patch:location}/${allow_force_ibbackup.patch:filename}
45 patch-options = -p1
46 location = ${buildout:parts-directory}/${:_buildout_section_name_}
47 configure-command = utils/build.sh innodb51_builtin ${:location} ${libtool:location}
48 environment =
49   CPPFLAGS =-I${zlib:location}/include -I${ncurses:location}/include -I${readline:location}/include
50   LDFLAGS =-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib
51   PATH=${autoconf:location}/bin:${automake-1.11:location}/bin:${libtool:location}/bin:${flex:location}/bin:%(PATH)s:${bison:location}/bin
52 make-options =
53   -j1
54
55 [versions]
56 # Use SlapOS patched zc.buildout
57 zc.buildout = 1.5.3-dev-SlapOS-001