2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-05-01 21:33:44 +02:00
|
|
|
#
|
|
|
|
# screen
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-05-01 21:33:44 +02:00
|
|
|
|
2017-12-07 20:41:46 +01:00
|
|
|
SCREEN_VERSION = 4.6.2
|
2010-12-17 17:30:56 +01:00
|
|
|
SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
|
2017-03-30 15:43:33 +02:00
|
|
|
SCREEN_LICENSE = GPL-3.0+
|
2012-11-30 01:14:43 +01:00
|
|
|
SCREEN_LICENSE_FILES = COPYING
|
2008-05-01 21:33:44 +02:00
|
|
|
SCREEN_DEPENDENCIES = ncurses
|
2014-09-15 04:39:49 +02:00
|
|
|
SCREEN_AUTORECONF = YES
|
|
|
|
SCREEN_CONF_ENV = CFLAGS="$(TARGET_CFLAGS)"
|
2016-11-09 10:36:29 +01:00
|
|
|
SCREEN_CONF_OPTS = --enable-colors256
|
2014-09-27 21:32:40 +02:00
|
|
|
SCREEN_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
|
2008-05-01 21:33:44 +02:00
|
|
|
|
2012-05-07 02:33:37 +02:00
|
|
|
define SCREEN_INSTALL_SCREENRC
|
2014-11-30 15:18:57 +01:00
|
|
|
$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
|
2012-05-07 02:33:37 +02:00
|
|
|
endef
|
|
|
|
SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
|
|
|
|
|
2018-01-19 11:15:04 +01:00
|
|
|
# Add /usr/bin/screen to /etc/shells otherwise some login tools like dropbear
|
|
|
|
# can reject the user connection. See man shells.
|
|
|
|
define SCREEN_ADD_SCREEN_TO_SHELLS
|
|
|
|
grep -qsE '^/usr/bin/screen$$' $(TARGET_DIR)/etc/shells \
|
|
|
|
|| echo "/usr/bin/screen" >> $(TARGET_DIR)/etc/shells
|
|
|
|
endef
|
|
|
|
SCREEN_TARGET_FINALIZE_HOOKS += SCREEN_ADD_SCREEN_TO_SHELLS
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|