[buildout]

parts = 
  condor

extends =
  ../libexpat/buildout.cfg
  ../kerberos/buildout.cfg
  ../perl/buildout.cfg
  ../java/buildout.cfg
  ../openldap/buildout.cfg
  ../dash/buildout.cfg
  ../zlib/buildout.cfg
  ../../stack/slapos.cfg

[condor]
recipe = slapos.recipe.build
slapos_promise =
  directory:bin
  directory:etc
  directory:examples
  directory:include
  directory:lib
  directory:libexec
  directory:man
  directory:src
  directory:sbin
  
depends =
  ${libexpat:location}
  ${kerberos:location}
  ${perl:location}
  ${openldap:location}
  ${java:location}
  ${dash:location}
  ${zlib:location}

x86 = http://parrot.cs.wisc.edu//symlink/20130530031504/7/7.9/7.9.5/28b36a94ad1a405bac689a76b6c353a7/condor-7.9.5-x86_Debian6-unstripped.tar.gz 227059bb9bebc9033665bb246d90a7bb
x86-64 = http://parrot.cs.wisc.edu//symlink/20130530031504/7/7.9/7.9.5/7000a12f9a22765b457e2958762871d5/condor-7.9.5-x86_64_Debian6-stripped.tar.gz 30fa4cebabb8ff4971c769f4ef74ba68

script =
  if not self.options.get('path'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
  extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
  workdir = guessworkdir(extract_dir)
  self.copyTree(workdir, "%(location)s")