2014-06-14 04:55:27 +00:00
|
|
|
#
|
2015-05-13 10:39:48 +00:00
|
|
|
# Copyright (C) 2009-2015 OpenWrt.org
|
2014-06-14 04:55:27 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=tmux
|
2015-11-08 17:33:49 +00:00
|
|
|
PKG_VERSION:=2.1
|
2014-06-14 04:55:27 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2015-07-17 10:48:35 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/tmux/tmux/releases/download/$(PKG_VERSION)
|
2015-11-08 17:33:49 +00:00
|
|
|
PKG_MD5SUM:=74a2855695bccb51b6e301383ad4818c
|
2014-06-14 04:59:52 +00:00
|
|
|
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
|
2015-05-13 10:39:48 +00:00
|
|
|
|
2014-08-09 12:42:09 +00:00
|
|
|
PKG_LICENSE:=ISC
|
2014-12-14 11:04:49 +00:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2014-06-14 04:55:27 +00:00
|
|
|
|
2015-05-13 10:39:48 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2014-06-14 04:55:27 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/tmux
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=Terminal multiplexer
|
|
|
|
DEPENDS:=+libncurses +libevent2 +libpthread +librt
|
|
|
|
URL:=http://tmux.sourceforge.net/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/tmux/description
|
|
|
|
tmux is a modern, BSD-licensed alternative to GNU screen.
|
|
|
|
endef
|
|
|
|
|
|
|
|
MAKE_FLAGS += \
|
|
|
|
PREFIX="/usr" \
|
|
|
|
PLATFORM="linux"
|
|
|
|
|
|
|
|
define Package/tmux/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,tmux))
|