fix build of ncurses

This commit is contained in:
Stephan Raue 2009-08-16 22:45:06 +02:00
parent 96968308cf
commit d97d717a75
2 changed files with 13 additions and 13 deletions

View File

@ -7,15 +7,13 @@ CWD=`pwd`
setup_toolchain host
cd $PKG_BUILD/ncurses-host
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--without-shared \
./configure
make -C include
make -C progs tic
cp -PR progs/tic $ROOT/$TOOLCHAIN/bin
cd "$CWD"
setup_toolchain target
@ -35,11 +33,11 @@ cd $PKG_BUILD
--without-cxx-binding \
--without-ada \
--without-progs \
--without-shared \
--with-shared \
--without-normal \
--without-debug \
--without-profile \
--without-termlib \
--with-termlib \
--without-dbmalloc \
--without-dmalloc \
--without-gpm \
@ -71,10 +69,11 @@ cd $PKG_BUILD
make -C include
make -C ncurses
#$AR cru lib/libncurses.a obj_s/*.o
$AR cru lib/libncurses.a obj_s/*.o
$MAKEINSTALL -C include
$MAKEINSTALL -C ncurses
cd $SYSROOT_PREFIX/usr/include/ncurses
cp curses.h term.h ../
cp $SYSROOT_PREFIX/usr/include/ncurses/curses.h \
$SYSROOT_PREFIX/usr/include/ncurses/term.h \
$SYSROOT_PREFIX/usr/include/

View File

@ -3,7 +3,8 @@
. config/options
mkdir -p $INSTALL/usr/lib
cp $PKG_BUILD/lib/libncurses.so* $INSTALL/usr/lib
cp -PR $PKG_BUILD/lib/libncurses.so* $INSTALL/usr/lib
cp -PR $PKG_BUILD/lib/libtinfo.so* $INSTALL/usr/lib
#mkdir -p $INSTALL/usr/share/terminfo/l
#TERMINFO=$INSTALL/usr/share/terminfo LD_LIBRARY_PATH=`ls -d $PKG_BUILD/ncurses-host/lib`:$LD_LIBRARY_PATH $PKG_BUILD/ncurses-host/progs/tic -xe linux $PKG_BUILD/misc/terminfo.src
mkdir -p $INSTALL/usr/share/terminfo/l
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe linux $PKG_BUILD/misc/terminfo.src