2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="screen"
|
2023-11-13 22:18:49 +00:00
|
|
|
PKG_VERSION="4.9.1"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="http://www.gnu.org/software/screen/"
|
2023-12-27 01:31:28 +00:00
|
|
|
PKG_URL="http://ftp.gnu.org/gnu/screen/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain ncurses"
|
|
|
|
PKG_LONGDESC="Screen is a window manager that multiplexes a physical terminal between several processes"
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_utempter_h=no \
|
|
|
|
--enable-colors256 \
|
|
|
|
--disable-pam \
|
|
|
|
--disable-use-locale \
|
|
|
|
--disable-telnet \
|
|
|
|
--disable-socket-dir"
|
|
|
|
|
|
|
|
pre_configure_target() {
|
2023-02-24 13:53:43 +00:00
|
|
|
CFLAGS="${CFLAGS} -DTERMINFO"
|
|
|
|
export LDFLAGS=`echo ${LDFLAGS} | sed -e "s|-Wl,--as-needed||"`
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# screen fails to build in subdirs
|
2023-02-24 13:53:43 +00:00
|
|
|
cd ${PKG_BUILD}
|
|
|
|
rm -rf .${TARGET_NAME}
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
|
|
|
:
|
|
|
|
}
|