[buildout]
parts =
  readline5
  readline
extends =
  ../ncurses/buildout.cfg

# readline-5.x is still used for GPL2 only softwares.
[readline5]
recipe = hexagonit.recipe.cmmi
url = http://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
md5sum = e39331f32ad14009b9ff49cc10c5e751
configure-options =
  --enable-multibyte
  --disable-static
  --with-ncurses=${ncurses:location}
environment =
    LDFLAGS =-Wl,-rpath=${ncurses:location}/lib

[readline]
recipe = hexagonit.recipe.cmmi
url = http://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz
md5sum = 67948acb2ca081f23359d0256e9a271c
configure-options =
  --disable-static
  --with-ncurses=${ncurses:location}
environment =
    LDFLAGS =-Wl,-rpath=${ncurses:location}/lib