distribution/packages/sysutils/screen/package.mk
fewtarius 8f0bfde778
* Python 3.11.7, GCC 13.2.0, LLVM 17.0.6, GLIB 2.78.3, GZdoom (Latest).
* Update misc packages for GCC 13.
* Thanks to @CoreELEC (Python 3), @ArchLinux (lrps2), and @AmberELEC (EmulationStation).
2023-12-27 01:31:28 +00:00

30 lines
954 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="screen"
PKG_VERSION="4.9.1"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/screen/"
PKG_URL="http://ftp.gnu.org/gnu/screen/${PKG_NAME}-${PKG_VERSION}.tar.gz"
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() {
CFLAGS="${CFLAGS} -DTERMINFO"
export LDFLAGS=`echo ${LDFLAGS} | sed -e "s|-Wl,--as-needed||"`
# screen fails to build in subdirs
cd ${PKG_BUILD}
rm -rf .${TARGET_NAME}
}
makeinstall_target() {
:
}