[buildout]
extends =
  ../patch/buildout.cfg
  ../perl/buildout.cfg
  ../ncurses/buildout.cfg
  ../readline/buildout.cfg
parts = perl-Term-ReadLine-Gnu

[perl-Term-ReadLine-Gnu]
<= perl-CPAN-package
module = Term/Term-Readline-Gnu
version = 1.20
md5sum = fa33510193b89a2ada74fcef00816322

patch-options = -p0
patches =
  ${:_profile_base_location_}/perl-Term-ReadLine-Gnu.patch#d4e4624e717c8da63e4d153149d57b68
extra-configure-args = \
  --includedir="${readline:location}/include" \
  --libdir=${readline:location}/lib \
  INC="-I${ncurses:location}/include" \
  LIBS="-Wl,-R${readline:location}/lib -L${ncurses:location}/lib -Wl,-R${ncurses:location}/lib"
environment =
  PATH=${patch:location}/bin:%(PATH)s
