2008-05-01 21:33:44 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# screen
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2010-12-17 17:30:56 +01:00
|
|
|
SCREEN_VERSION = 4.0.3
|
|
|
|
SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
|
2008-05-01 21:33:44 +02:00
|
|
|
SCREEN_DEPENDENCIES = ncurses
|
2012-05-07 02:33:37 +02:00
|
|
|
SCREEN_CONF_ENV = ac_cv_header_elf_h=no ac_cv_header_dwarf_h=no \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -DTERMINFO"
|
2012-04-15 14:02:10 +02:00
|
|
|
SCREEN_MAKE = $(MAKE1)
|
2008-05-01 21:33:44 +02:00
|
|
|
SCREEN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
|
|
|
|
|
2012-05-07 02:33:37 +02:00
|
|
|
define SCREEN_INSTALL_SCREENRC
|
|
|
|
if [ ! -f $(TARGET_DIR)/etc/screenrc ]; then \
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc; \
|
|
|
|
fi
|
|
|
|
endef
|
|
|
|
|
|
|
|
SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
|
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|