buildout.cfg 1000 Bytes
Newer Older
1 2 3 4 5
[buildout]
parts =
  ncurses

[ncurses]
6
recipe = slapos.recipe.cmmi
7 8 9 10 11 12 13
url = ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
md5sum = 8cb9c412e5f2d96bc6f459aa8c6282a1
configure-options =
  --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
  --with-shared
  --without-normal
  --without-debug
14
  --without-gpm
15 16 17
  --enable-rpath
# tricky way to rerun with --enable-widec
make-targets =
18
  install && (for i in curses unctrl eti form menu panel term; do ln -sf ncurses/$i.h ${buildout:parts-directory}/${:_buildout_section_name_}/include/$i.h; done; ln -sf libncurses.so ${buildout:parts-directory}/${:_buildout_section_name_}/lib/libcurses.so) && ./configure ${:configure-options} --enable-widec && make ${:make-options} install
19
# pass dummy LDCONFIG to skip needless calling of ldconfig by non-root user
20
environment =
21
  LDCONFIG=/bin/echo
22 23
make-options =
  -j1
24 25 26 27 28 29 30

[ncurses:cygwin]
share = /
promises =
  /usr/bin/cygncurses++-10.dll
  /usr/bin/cygncurses-10.dll
  /usr/lib/libncurses.dll.a