mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
21
package/tmux/tmux.mk
Normal file
21
package/tmux/tmux.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# tmux
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TMUX_VERSION = 2.8
|
||||
TMUX_SITE = https://github.com/tmux/tmux/releases/download/$(TMUX_VERSION)
|
||||
TMUX_LICENSE = ISC
|
||||
TMUX_LICENSE_FILES = COPYING
|
||||
TMUX_DEPENDENCIES = libevent ncurses host-pkgconf
|
||||
|
||||
# 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
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user