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
|
|
|
|
2019-10-11 05:08:38 +02:00
|
|
|
TMUX_VERSION = 2.9a
|
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
|
2018-12-27 12:10:44 +01:00
|
|
|
TMUX_LICENSE_FILES = COPYING
|
2014-01-25 00:15:14 +01:00
|
|
|
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))
|