1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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.3
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/tmux/tmux/releases/download/$(PKG_VERSION)
  13. PKG_MD5SUM:=55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b
  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. include $(INCLUDE_DIR)/package.mk
  20. define Package/tmux
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. SUBMENU:=Terminal
  24. TITLE:=Terminal multiplexer
  25. DEPENDS:=+libncurses +libevent2 +libpthread +librt
  26. URL:=http://tmux.sourceforge.net/
  27. endef
  28. define Package/tmux/description
  29. tmux is a modern, BSD-licensed alternative to GNU screen.
  30. endef
  31. MAKE_FLAGS += \
  32. PREFIX="/usr" \
  33. PLATFORM="linux"
  34. define Package/tmux/install
  35. $(INSTALL_DIR) $(1)/usr/bin
  36. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
  37. endef
  38. $(eval $(call BuildPackage,tmux))