buildout.cfg 1.11 KB
Newer Older
1
[buildout]
2
extends =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
3
  ../gmp/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
4
  ../perl/buildout.cfg
5
  ../xz-utils/buildout.cfg
6
parts =
7
  coreutils-output
8 9

[coreutils]
10
recipe = slapos.recipe.cmmi
11 12
url = http://ftp.gnu.org/gnu/coreutils/coreutils-8.23.tar.xz
md5sum = abed135279f87ad6762ce57ff6d89c41
13
configure-options =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
14
  -enable-install-program=tr,basename,uname,cat,cp,ls
15
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
16
  PATH=${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
17
  LDFLAGS=-Wl,--as-needed -L${gmp:location}/lib -Wl,-rpath=${gmp:location}/lib
18 19 20 21 22 23

[coreutils-output]
# Shared binary location to ease migration
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
24
command = ${:test} -x ${:test} -a -x ${:cat} -a -x ${:rm} -a -x ${:echo} -a -x ${:date} -a -x ${:md5sum} -a -x ${:basename} -a -x ${:sort} -a -x ${:tail}
25 26 27
test = ${coreutils:location}/bin/test
cat = ${coreutils:location}/bin/cat
rm = ${coreutils:location}/bin/rm
28 29 30 31
echo = ${coreutils:location}/bin/echo
date = ${coreutils:location}/bin/date
md5sum = ${coreutils:location}/bin/md5sum
basename = ${coreutils:location}/bin/basename
32 33
sort = ${coreutils:location}/bin/sort
tail = ${coreutils:location}/bin/tail