mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-28 14:41:22 +00:00
18 lines
556 B
Plaintext
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
|