2014-02-28 21:19:02 +00:00
|
|
|
v="5.9"
|
|
|
|
url="$mirror/ncurses.tar.gz"
|
|
|
|
|
2014-02-27 12:41:37 +00:00
|
|
|
build: crossmusl
|
2014-02-28 21:19:02 +00:00
|
|
|
cd src/ncurses-$v
|
2013-09-19 13:25:40 +00:00
|
|
|
cp $top/stuff/ncurses-fallback.c ncurses/fallback.c
|
2014-02-28 15:17:16 +00:00
|
|
|
CC="$CC -static" ./configure --prefix="${libcroot}" --mandir="$root/share" --without-tests \
|
2013-09-17 10:37:13 +00:00
|
|
|
--with-normal --enable-sigwinch --disable-nls --without-dlsym \
|
2014-02-26 08:06:41 +00:00
|
|
|
--without-cxx-binding --enable-widec \
|
2013-09-19 13:53:15 +00:00
|
|
|
--with-fallbacks="linux vt100 xterm xterm256-color" </dev/ptmx || return 1
|
2013-09-25 12:47:38 +00:00
|
|
|
make -j$nprocs || return 1
|
2013-09-17 14:40:13 +00:00
|
|
|
make install || return 1
|
2014-02-26 08:06:41 +00:00
|
|
|
cd $root/lib
|
2014-02-27 12:41:37 +00:00
|
|
|
for lib in ncurses form panel menu ; do
|
|
|
|
ln -sf lib${lib}w_g.a lib${lib}_g.a
|
|
|
|
ln -sf lib${lib}w.a lib${lib}.a
|
|
|
|
done
|