ncurses should be fixed, thanks in part to CoreELEC.
This commit is contained in:
parent
3624351d57
commit
711677cf6b
2 changed files with 22 additions and 12 deletions
|
@ -3,10 +3,10 @@
|
|||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="ncurses"
|
||||
PKG_VERSION="6.3-20220827"
|
||||
PKG_VERSION="6.3"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://www.gnu.org/software/ncurses/"
|
||||
PKG_URL="http://invisible-mirror.net/archives/ncurses/current/ncurses-${PKG_VERSION}.tgz"
|
||||
PKG_URL="http://invisible-mirror.net/archives/ncurses/ncurses-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib ncurses:host"
|
||||
PKG_LONGDESC="A library is a free software emulation of curses in System V Release 4.0, and more."
|
||||
|
@ -47,7 +47,7 @@ PKG_CONFIGURE_OPTS_TARGET="
|
|||
--disable-sigwinch \
|
||||
--enable-pc-files \
|
||||
--with-pkg-config-libdir=/usr/lib/pkgconfig \
|
||||
--disable-tcap-names \
|
||||
--enable-tcap-names \
|
||||
--without-develop \
|
||||
--disable-hard-tabs \
|
||||
--disable-xmc-glitch \
|
||||
|
@ -57,7 +57,7 @@ PKG_CONFIGURE_OPTS_TARGET="
|
|||
--enable-widec \
|
||||
--disable-echo \
|
||||
--disable-warnings \
|
||||
--disable-home-terminfo \
|
||||
--enable-home-terminfo \
|
||||
--enable-lib-suffixes \
|
||||
--disable-assertions"
|
||||
|
||||
|
@ -69,7 +69,17 @@ PKG_CONFIGURE_OPTS_HOST="--enable-termcap \
|
|||
--without-manpages"
|
||||
|
||||
post_makeinstall_target() {
|
||||
local f
|
||||
cp misc/ncurses-config ${TOOLCHAIN}/bin
|
||||
chmod +x ${TOOLCHAIN}/bin/ncurses-config
|
||||
sed -e "s:\(['=\" ]\)/usr:\\1${SYSROOT_PREFIX}/usr:g" -i ${TOOLCHAIN}/bin/ncurses-config
|
||||
sed -e "s:\(['=\" ]\)/usr:\\1${PKG_ORIG_SYSROOT_PREFIX}/usr:g" -i ${TOOLCHAIN}/bin/ncurses-config
|
||||
rm -f ${TOOLCHAIN}/bin/ncurses6-config
|
||||
rm -rf ${INSTALL}/usr/bin
|
||||
# create links to be compatible with any ncurses include path and lib names
|
||||
ln -sf . ${SYSROOT_PREFIX}/usr/include/ncursesw
|
||||
ln -sf . ${SYSROOT_PREFIX}/usr/include/ncurses
|
||||
for f in form menu ncurses panel; do
|
||||
ln -sf lib${f}w.a ${SYSROOT_PREFIX}/usr/lib/lib${f}.a
|
||||
ln -sf ${f}w.pc ${SYSROOT_PREFIX}/usr/lib/pkgconfig/${f}.pc
|
||||
done
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="procps-ng"
|
||||
PKG_VERSION="3.3.15"
|
||||
PKG_SHA256="191391fde24a1d3b9b0030d26f8dfdcbf641d36297aab7ecf2f941c5ca927e21"
|
||||
PKG_VERSION="3.3.17"
|
||||
PKG_SHA256="8374d281f91e5fc9bb9ea8dc991b25331e3a2b0299b46f22c633f7fb6bcb0764"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://gitlab.com/procps-ng/procps"
|
||||
PKG_URL="https://gitlab.com/procps-ng/procps/-/archive/v${PKG_VERSION}/procps-v${PKG_VERSION}.tar.bz2"
|
||||
|
@ -20,12 +20,12 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
|||
|
||||
PKG_MAKE_OPTS_TARGET="free top/top proc/libprocps.la proc/libprocps.pc"
|
||||
|
||||
PKG_MAKEINSTALL_OPTS_TARGET="install-libLTLIBRARIES install-pkgconfigDATA"
|
||||
PKG_MAKEINSTALL_OPTS_TARGET="install-libLTLIBRARIES install-pkgconfigDATA install-proc_libprocps_la_includeHEADERS"
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp -P $PKG_BUILD/.$TARGET_NAME/free $INSTALL/usr/bin
|
||||
cp -P $PKG_BUILD/.$TARGET_NAME/top/top $INSTALL/usr/bin
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -P ${PKG_BUILD}/.${TARGET_NAME}/free ${INSTALL}/usr/bin
|
||||
cp -P ${PKG_BUILD}/.${TARGET_NAME}/top/top ${INSTALL}/usr/bin
|
||||
|
||||
make DESTDIR=$SYSROOT_PREFIX -j1 $PKG_MAKEINSTALL_OPTS_TARGET
|
||||
make DESTDIR=${SYSROOT_PREFIX} -j1 ${PKG_MAKEINSTALL_OPTS_TARGET}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue