ncurses: clean up

- disable terminfo database. fallbacks are enough.
- remove ncurses:host
This commit is contained in:
Stephan Raue 2014-08-24 18:59:30 +03:00
parent 80ffa3bcd0
commit 5305e4bdee

View File

@ -23,8 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://www.gnu.org/software/ncurses/"
PKG_URL="http://ftp.gnu.org/pub/gnu/ncurses/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST=""
PKG_DEPENDS_TARGET="toolchain ncurses:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="ncurses: The ncurses (new curses) library"
@ -33,7 +32,6 @@ PKG_LONGDESC="The ncurses (new curses) library is a free software emulation of c
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_HOST="--with-shared"
PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
--without-cxx-binding \
--without-ada \
@ -48,7 +46,8 @@ PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
--without-gpm \
--disable-rpath \
--disable-overwrite \
--enable-database \
--disable-database \
--with-fallbacks=linux,screen,xterm,xterm-color \
--disable-big-core \
--enable-termcap \
--enable-getcap \
@ -77,17 +76,6 @@ pre_configure_target() {
strip_linker_plugin
}
make_host() {
make -C include
make -C progs tic
}
makeinstall_host() {
cp progs/tic $ROOT/$TOOLCHAIN/bin
cp lib/*.so* $ROOT/$TOOLCHAIN/lib
make -C include install
}
make_target() {
make -C include
make -C ncurses
@ -103,19 +91,3 @@ makeinstall_target() {
make DESTDIR=$INSTALL -C ncurses install
}
post_makeinstall_target() {
mkdir -p $INSTALL/usr/share/terminfo/l
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe linux \
$ROOT/$PKG_BUILD/misc/terminfo.src
mkdir -p $INSTALL/usr/share/terminfo/s
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe screen \
$ROOT/$PKG_BUILD/misc/terminfo.src
mkdir -p $INSTALL/usr/share/terminfo/x
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe xterm \
$ROOT/$PKG_BUILD/misc/terminfo.src
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe xterm-color \
$ROOT/$PKG_BUILD/misc/terminfo.src
}