[buildout]
extends =
  ../autoconf/buildout.cfg
  ../automake/buildout.cfg
  ../flex/buildout.cfg
  ../bison/buildout.cfg

[matiec]
recipe = slapos.recipe.cmmi
url = https://github.com/beremiz/matiec/archive/${:version}.tar.gz
md5sum = 6ee62c3d523c6154e7d781d98756444f
version = f59f45d5219172dea171d8ff305f28606a9500ff
pre-configure =
  ${autoconf:location}/bin/autoreconf -i
make-targets =
post-install =
  cp -r * %(location)s/
environment =
  PATH=${autoconf:location}/bin:${automake:location}/bin:${flex:location}/bin:${bison:location}/bin:%(PATH)s

[Modbus]
recipe = slapos.recipe.cmmi
url = https://hg.beremiz.org/Modbus/archive/e319814f1c17.tar.bz2
md5sum = ad43fdacf223c7861576422eb89c15aa
configure-command = true
make-targets =
post-install =
  cp -r *.h libmb.a libmb.so %(location)s/
