[buildout]
extends =
  ../coreutils/buildout.cfg
  ../xz-utils/buildout.cfg
parts =
  findutils-output

[findutils]
recipe = slapos.recipe.cmmi
shared = true
url = http://ftp.debian.org/debian/pool/main/f/findutils/findutils_4.9.0.orig.tar.xz
md5sum = 4a4a547e888a944b2f3af31d789a1137
environment =
  PATH=${xz-utils:location}/bin:%(PATH)s

[findutils-output]
# Shared binary location to ease migration
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = ${coreutils-output:test} -x ${:find} -a -x ${:xargs}
find = ${findutils:location}/bin/find
xargs = ${findutils:location}/bin/xargs
