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-03-06 13:15:49 +00:00
|
|
|
CC="$CC -static" ./configure --prefix="$libcroot" --mandir="$root/share" \
|
|
|
|
--datadir="$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 \
|
2014-02-28 23:45:56 +00:00
|
|
|
--with-fallbacks="linux vt100 xterm xterm256-color" </dev/ptmx
|
|
|
|
make -j$nprocs
|
|
|
|
make install
|
2014-03-05 12:21:37 +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
|