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

20 lines
633 B
Plaintext
Raw Normal View History

2014-02-27 12:41:37 +00:00
build: crossmusl
v="5.9"
url="$mirror/ncurses.tar.gz"
cd src
2014-02-27 12:41:37 +00:00
wget -c $url
[ -d ncurses-$v ] || tar xzf ncurses.tar.gz
cd ncurses-$v
2013-09-19 13:25:40 +00:00
cp $top/stuff/ncurses-fallback.c ncurses/fallback.c
2014-02-27 12:41:37 +00:00
CC="$CC -static" ./configure --prefix="${libcroot}" --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 || return 1
make -j$nprocs || return 1
2013-09-17 14:40:13 +00:00
make install || return 1
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