1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 09:28:34 +00:00
morpheus/pkgs/ncurses/build

19 lines
584 B
Plaintext
Raw Normal View History

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
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 \
--without-cxx-binding --enable-widec \
--with-fallbacks="linux vt100 xterm xterm256-color" </dev/ptmx
make -j$nprocs
make install
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