You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2009-2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=tmux
  9. PKG_VERSION:=2.7
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/tmux/tmux/releases/download/$(PKG_VERSION)
  13. PKG_HASH:=9ded7d100313f6bc5a87404a4048b3745d61f2332f99ec1400a7c4ed9485d452
  14. PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
  15. PKG_LICENSE:=ISC
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_BUILD_PARALLEL:=1
  18. PKG_INSTALL:=1
  19. PKG_FIXUP:=autoreconf
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/tmux
  22. SECTION:=utils
  23. CATEGORY:=Utilities
  24. SUBMENU:=Terminal
  25. TITLE:=Terminal multiplexer
  26. DEPENDS:=+libncurses +libevent2 +libpthread +librt
  27. URL:=http://tmux.github.io/
  28. endef
  29. define Package/tmux/description
  30. tmux is a modern, BSD-licensed alternative to GNU screen.
  31. endef
  32. define Package/tmux/conffiles
  33. /etc/tmux.conf
  34. endef
  35. define Package/tmux/install
  36. $(INSTALL_DIR) $(1)/usr/bin
  37. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
  38. endef
  39. $(eval $(call BuildPackage,tmux))