build-ncurses.sh

build-ncurses.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz
 
cd $BUILD
 
rm -rf  ncurses-5.7/
tar -xf $SOURCES/ncurses-5.7.tar.gz 
cd ncurses-5.7/
 
CPPFLAGS=$CF \
LDFLAGS=$LF \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE \
	--without-cxx \
	--without-ada \
	--without-progs \
	--with-shared \
	--enable-widec \
	--with-build-cppflags=-D_GNU_SOURCE
 
make $J
make DESTDIR=$STAGING install
 
for i in ncurses form panel menu; do
	echo "INPUT(-l${i}w)" > $STAGING/usr/lib/lib$i.so
done
ostatnio zmienione: 2011/08/19 13:50