[buildout]
extends =
  ../patch/buildout.cfg

parts =
  screen

extends =
  ../ncurses/buildout.cfg

[screen]
recipe = slapos.recipe.cmmi
version = 4.0.3
url = http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz
md5sum = 8506fd205028a96c741e4037de6e3c42
# Compatibility with CentOS
patch-options = -p1 -b
patches =
  ${:_profile_base_location_}/screen-4.0.3-stropts.patch#5677917353067ffbcb08a23a59605aa4
environment =
  CFLAGS=-I${ncurses:location}/include
  LDFLAGS=-L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib
  PATH=${patch:location}/bin:%(PATH)s
