mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
ncurses: clean up
- disable terminfo database. fallbacks are enough. - remove ncurses:host
This commit is contained in:
parent
80ffa3bcd0
commit
5305e4bdee
@ -23,8 +23,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="MIT"
|
PKG_LICENSE="MIT"
|
||||||
PKG_SITE="http://www.gnu.org/software/ncurses/"
|
PKG_SITE="http://www.gnu.org/software/ncurses/"
|
||||||
PKG_URL="http://ftp.gnu.org/pub/gnu/ncurses/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://ftp.gnu.org/pub/gnu/ncurses/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS_HOST=""
|
PKG_DEPENDS_TARGET="toolchain"
|
||||||
PKG_DEPENDS_TARGET="toolchain ncurses:host"
|
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="devel"
|
PKG_SECTION="devel"
|
||||||
PKG_SHORTDESC="ncurses: The ncurses (new curses) library"
|
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_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_HOST="--with-shared"
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
|
PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
|
||||||
--without-cxx-binding \
|
--without-cxx-binding \
|
||||||
--without-ada \
|
--without-ada \
|
||||||
@ -48,7 +46,8 @@ PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
|
|||||||
--without-gpm \
|
--without-gpm \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--disable-overwrite \
|
--disable-overwrite \
|
||||||
--enable-database \
|
--disable-database \
|
||||||
|
--with-fallbacks=linux,screen,xterm,xterm-color \
|
||||||
--disable-big-core \
|
--disable-big-core \
|
||||||
--enable-termcap \
|
--enable-termcap \
|
||||||
--enable-getcap \
|
--enable-getcap \
|
||||||
@ -77,17 +76,6 @@ pre_configure_target() {
|
|||||||
strip_linker_plugin
|
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_target() {
|
||||||
make -C include
|
make -C include
|
||||||
make -C ncurses
|
make -C ncurses
|
||||||
@ -103,19 +91,3 @@ makeinstall_target() {
|
|||||||
|
|
||||||
make DESTDIR=$INSTALL -C ncurses install
|
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
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user