2014-04-30 21:34:56 +02:00
|
|
|
################################################################################
|
2014-01-25 00:15:14 +01:00
|
|
|
#
|
|
|
|
# tmux
|
|
|
|
#
|
2014-04-30 21:34:56 +02:00
|
|
|
################################################################################
|
2014-01-25 00:15:14 +01:00
|
|
|
|
2017-10-31 14:32:17 +01:00
|
|
|
TMUX_VERSION = 2.6
|
2015-06-17 21:28:21 +02:00
|
|
|
TMUX_SITE = https://github.com/tmux/tmux/releases/download/$(TMUX_VERSION)
|
2014-01-25 00:15:14 +01:00
|
|
|
TMUX_LICENSE = ISC
|
|
|
|
TMUX_LICENSE_FILES = README
|
|
|
|
TMUX_DEPENDENCIES = libevent ncurses host-pkgconf
|
|
|
|
|
2018-01-19 11:15:05 +01:00
|
|
|
# Add /usr/bin/tmux to /etc/shells otherwise some login tools like dropbear
|
|
|
|
# can reject the user connection. See man shells.
|
|
|
|
define TMUX_ADD_TMUX_TO_SHELLS
|
|
|
|
grep -qsE '^/usr/bin/tmux$$' $(TARGET_DIR)/etc/shells \
|
|
|
|
|| echo "/usr/bin/tmux" >> $(TARGET_DIR)/etc/shells
|
|
|
|
endef
|
|
|
|
TMUX_TARGET_FINALIZE_HOOKS += TMUX_ADD_TMUX_TO_SHELLS
|
|
|
|
|
2014-01-25 00:15:14 +01:00
|
|
|
$(eval $(autotools-package))
|