Merge branch 'erp5-component' into erp5
[slapos.git] / component / rdiff-backup / buildout.cfg
1 [buildout]
2 extends =
3   ../librsync/buildout.cfg
4   ../coreutils/buildout.cfg
5 parts =
6   rdiff-backup-output
7
8 [rdiff-backup-build]
9 recipe = zc.recipe.egg:custom
10 egg = rdiff-backup
11 include-dirs =
12   ${librsync:location}/include/
13 library-dirs =
14   ${librsync:location}/lib/
15 rpath =
16   ${librsync:location}/lib/
17 find-links = http://pkgs.fedoraproject.org/repo/pkgs/rdiff-backup/rdiff-backup-1.0.5.tar.gz/fa2a165fa07a94be52c52e3545bc7758/rdiff-backup-1.0.5.tar.gz
18
19 [rdiff-backup]
20 # Scripts only generation part for rdiff-backup
21 unzip = true
22 recipe = zc.recipe.egg
23 eggs =
24   ${rdiff-backup-build:egg}
25 entry-points =
26   rdiff-backup=rdiff_backup.Main:Main
27 arguments = sys.argv[1:]
28
29 [rdiff-backup-output]
30 # Shared binary location to ease migration
31 recipe = plone.recipe.command
32 stop-on-error = true
33 update-command = ${:command}
34 command = ${coreutils-output:test} -x ${:rdiff-backup}
35 rdiff-backup = ${buildout:directory}/bin/rdiff-backup