buildout.cfg 1.98 KB
Newer Older
1 2
# xtrabackup: hot backup utility for MySQL
# http://www.percona.com/
Łukasz Nowak's avatar
Łukasz Nowak committed
3
# Depends on SlapOS patched buildout for _profile_base_location_ functionality
4 5
[buildout]
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
6 7 8 9 10 11 12 13
  ../autoconf/buildout.cfg
  ../automake/buildout.cfg
  ../bison/buildout.cfg
  ../flex/buildout.cfg
  ../libtool/buildout.cfg
  ../ncurses/buildout.cfg
  ../readline/buildout.cfg
  ../zlib/buildout.cfg
14 15 16 17

parts =
  xtrabackup

Łukasz Nowak's avatar
Łukasz Nowak committed
18 19 20 21 22
find-links =
    http://www.nexedi.org/static/packages/source/slapos.buildout/

versions = versions

23 24
[xtrabackup-build-patch-download]
recipe = hexagonit.recipe.download
25
url = ${:_profile_base_location_}/${:filename}
26 27 28 29
md5sum = e018df8bb3ed672891388556b8e91e35
download-only = true
filename = xtrabackup_build.patch

30 31 32 33 34 35 36
[allow_force_ibbackup.patch]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
md5sum = d642ea7b30d1322a516fbece4ee100e0
download-only = true
filename = ${:_buildout_section_name_}

37 38 39 40 41
[xtrabackup]
recipe = hexagonit.recipe.cmmi
url = http://www.percona.com/redir/downloads/XtraBackup/XtraBackup-1.6/source/xtrabackup-1.6.tar.gz
md5sum = 7c263723312cba36539df4cd7a119744
make-binary = true
42 43 44
patches =
  ${xtrabackup-build-patch-download:location}/${xtrabackup-build-patch-download:filename}
  ${allow_force_ibbackup.patch:location}/${allow_force_ibbackup.patch:filename}
45 46 47 48 49
patch-options = -p1
location = ${buildout:parts-directory}/${:_buildout_section_name_}
configure-command = utils/build.sh innodb51_builtin ${:location} ${libtool:location}
environment =
  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 52 53
  PATH=${autoconf:location}/bin:${automake-1.11:location}/bin:${libtool:location}/bin:${flex:location}/bin:%(PATH)s:${bison:location}/bin
make-options =
  -j1
Łukasz Nowak's avatar
Łukasz Nowak committed
54 55 56 57

[versions]
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-001