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.

44 lines
952 B

  1. #
  2. # Copyright (C) 2009-2012 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:=1.9a
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/tmux
  13. PKG_MD5SUM:=b07601711f96f1d260b390513b509a2d
  14. PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
  15. PKG_INSTALL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/tmux
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. TITLE:=Terminal multiplexer
  21. DEPENDS:=+libncurses +libevent2 +libpthread +librt
  22. URL:=http://tmux.sourceforge.net/
  23. endef
  24. define Package/tmux/description
  25. tmux is a modern, BSD-licensed alternative to GNU screen.
  26. endef
  27. MAKE_FLAGS += \
  28. PREFIX="/usr" \
  29. PLATFORM="linux"
  30. define Package/tmux/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,tmux))