[buildout]
parts =
  readline5
  readline

# readline-5.x is still used for GPL2 only softwares.
[readline5]
recipe = slapos.recipe.cmmi
url = http://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
md5sum = e39331f32ad14009b9ff49cc10c5e751
configure-options =
  --enable-multibyte
  --disable-static

[readline]
recipe = slapos.recipe.cmmi
url = http://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz
md5sum = 67948acb2ca081f23359d0256e9a271c
configure-options =
  --enable-multibyte
  --disable-static

[readline:cygwin]
share = /usr
promises =
  /usr/lib/libreadline.dll.a
  /usr/include/readline/readline.h

[readline5:cygwin]
share = /usr
promises =
  /usr/lib/libreadline.dll.a
  /usr/include/readline/readline.h