buildout.cfg 1.25 KB
Newer Older
1
[buildout]
2 3
extends =
  ../patch/buildout.cfg
4 5 6 7
parts =
  ncurses

[ncurses]
8
recipe = slapos.recipe.cmmi
9
shared = true
10
url = https://invisible-mirror.net/archives/ncurses/ncurses-6.1.tar.gz
11
# md5sum = ee13d052e1ead260d7c28071f46eefb1
12 13 14
# patch-options = -p1
# patches =
#   ${:_profile_base_location_}/ncurses-5.9-gcc-5.patch#57f4cd0cc0c0a42a5ddb2167f9546d72
15
configure-options =
16
  --prefix=@@LOCATION@@
17
  --with-shared
18 19 20
  --without-ada
  --without-manpages
  --without-tests
21 22
  --without-normal
  --without-debug
23
  --without-gpm
24
  --enable-rpath
25
  --without-progs
26 27 28
  --enable-const
  --enable-sigwinch
  --enable-wgetch-events
Kwabena AB's avatar
Kwabena AB committed
29 30 31
  --without-cxx
  --without-cxx-binding
  --without-curses-h
32
# tricky way to rerun with --enable-widec
33 34
# make-targets =
#   install && (for i in curses unctrl eti form menu panel term; do ln -sf ncurses/$i.h @@LOCATION@@/include/$i.h; done; ln -sf libncurses.so @@LOCATION@@/lib/libcurses.so) && ./configure ${:configure-options} --enable-widec && make ${:make-options} && make ${:make-options} install
35
make-targets =
36
  ./configure ${:configure-options} --enable-widec && make && make install
37

38
# pass dummy LDCONFIG to skip needless calling of ldconfig by non-root user
39
environment =
40
  LDCONFIG=/bin/echo
41
  PATH=${patch:location}/bin:%(PATH)s
Kwabena AB's avatar
Kwabena AB committed
42
make-options =
43
  -j1