ncurse: add a patch for gcc 5.
[slapos.git] / component / ncurses / buildout.cfg
1 [buildout]
2 extends =
3   ../patch/buildout.cfg
4 parts =
5   ncurses
6
7 [ncurses]
8 recipe = slapos.recipe.cmmi
9 url = ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz
10 md5sum = ee13d052e1ead260d7c28071f46eefb1
11 patch-options = -p1
12 patches =
13   ${:_profile_base_location_}/ncurses-5.9-gcc-5.patch#57f4cd0cc0c0a42a5ddb2167f9546d72
14 configure-options =
15   --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
16   --with-shared
17   --without-ada
18   --without-manpages
19   --without-tests
20   --without-normal
21   --without-debug
22   --without-gpm
23   --enable-rpath
24 # tricky way to rerun with --enable-widec
25 make-targets =
26   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} && make ${:make-options} install
27 # pass dummy LDCONFIG to skip needless calling of ldconfig by non-root user
28 environment =
29   LDCONFIG=/bin/echo
30   PATH=${patch:location}/bin:%(PATH)s
31 make-options =
32   -j1