1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-24 12:58:34 +00:00
morpheus/pkgs/ncurses
2014-03-01 01:45:56 +02:00

18 lines
556 B
Plaintext

v="5.9"
url="$mirror/ncurses.tar.gz"
build: crossmusl
cd src/ncurses-$v
cp $top/stuff/ncurses-fallback.c ncurses/fallback.c
CC="$CC -static" ./configure --prefix="${libcroot}" --mandir="$root/share" --without-tests \
--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
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