Details on this package are located in Section 10.22.2, “Contents of Ncurses.”
The Ncurses package contains libraries for terminal-independent handling of character screens.
The following patches merges all updates from the 5.6 Branch from the Ncurses developers:
patch -Np1 -i ../ncurses-5.6-branch_update-3.patch
Prepare Ncurses for compilation:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ ./configure --prefix=/usr --libdir=/lib \ --with-shared --without-debug
Compile the package:
make
This package does not come with a test suite.
Install the package:
make install
Prepare ncurses5-config
to be wrapped
by the multiarch wrapper:
mv -v /usr/bin/ncurses5-config{,-32}
Move the Ncurses static libraries to the proper location:
mv -v /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib
Create symlinks in /usr/lib:
rm -v /lib/lib{ncurses,menu,panel,form,curses}.so ln -svf ../../lib/libncurses.so.5 /usr/lib/libcurses.so ln -svf ../../lib/libncurses.so.5 /usr/lib/libncurses.so ln -svf ../../lib/libmenu.so.5 /usr/lib/libmenu.so ln -svf ../../lib/libpanel.so.5 /usr/lib/libpanel.so ln -svf ../../lib/libform.so.5 /usr/lib/libform.so
Give the Ncurses dynamic libraries execute permissions:
chmod -v 755 /lib/lib{panel,menu,form,ncurses}.so.5.6
Details on this package are located in Section 10.22.2, “Contents of Ncurses.”