ncurses: build statically

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-09-24 22:20:01 +02:00
parent b433e02e0a
commit 4ce6dc634e

View File

@ -32,18 +32,23 @@ 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_TARGET="--without-cxx \ PKG_CONFIGURE_OPTS_TARGET="--without-ada \
--without-cxx \
--without-cxx-binding \ --without-cxx-binding \
--without-ada \ --disable-db-install \
--without-manpages \
--without-progs \ --without-progs \
--with-shared \ --without-tests \
--without-curses-h \
--without-shared \
--with-normal \ --with-normal \
--without-debug \ --without-debug \
--without-profile \ --without-profile \
--without-termlib \ --without-termlib \
--without-ticlib \
--without-gpm \
--without-dbmalloc \ --without-dbmalloc \
--without-dmalloc \ --without-dmalloc \
--without-gpm \
--disable-rpath \ --disable-rpath \
--disable-overwrite \ --disable-overwrite \
--disable-database \ --disable-database \
@ -51,7 +56,8 @@ PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
--disable-big-core \ --disable-big-core \
--enable-termcap \ --enable-termcap \
--enable-getcap \ --enable-getcap \
--disable-getcap-cache \ --enable-getcap-cache \
--enable-symlinks \
--disable-bsdpad \ --disable-bsdpad \
--without-rcs-ids \ --without-rcs-ids \
--enable-ext-funcs \ --enable-ext-funcs \
@ -76,18 +82,8 @@ pre_configure_target() {
strip_lto strip_lto
} }
make_target() { post_makeinstall_target() {
make -C include
make -C ncurses
}
makeinstall_target() {
$MAKEINSTALL -C include
$MAKEINSTALL -C ncurses
cp misc/ncurses-config $ROOT/$TOOLCHAIN/bin cp misc/ncurses-config $ROOT/$TOOLCHAIN/bin
chmod +x $ROOT/$TOOLCHAIN/bin/ncurses-config chmod +x $ROOT/$TOOLCHAIN/bin/ncurses-config
$SED "s:\(['=\" ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $ROOT/$TOOLCHAIN/bin/ncurses-config $SED "s:\(['=\" ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $ROOT/$TOOLCHAIN/bin/ncurses-config
make DESTDIR=$INSTALL -C ncurses install
} }