Source

woocode / sa-auto / src / ncurses.sh

Full commit
#!/bin/sh

. ./set_app_env.sh;

L_CFLAGS="";
L_LDFLAGS="";

CFLAGS=" $G_CFLAGS $L_CFLAGS";export CFLAGS;
LDFLAGS=" $G_LDFLAGS $L_LDFLAGS";export LDFLAGS;
CPPFLAGS=" $G_CPPFLAGS $L_CPPFLAGS";export CPPFLAGS;

rm -rf $NCURSES
rm -rf $APP_LIB/ncurses

tar zxvf $NCURSES.tar.gz

cd $NCURSES

./configure --prefix=$APP_LIB/$NCURSES \
            --without-cxx              \
            --without-cxx-binding 

make $MAKEOPT &&
make install

ln -s $APP_LIB/$NCURSES $APP_LIB/ncurses