Merge pull request #4962 from diizzyy/patch-96
[feed/packages.git] / utils / tmux / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=tmux
11 PKG_VERSION:=2.5
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/tmux/tmux/releases/download/$(PKG_VERSION)
16 PKG_HASH:=ae135ec37c1bf6b7750a84e3a35e93d91033a806943e034521c8af51b12d95df
17 PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
18
19 PKG_LICENSE:=ISC
20 PKG_LICENSE_FILES:=COPYING
21
22 PKG_BUILD_PARALLEL:=1
23 PKG_INSTALL:=1
24 PKG_FIXUP:=autoreconf
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/tmux
29 SECTION:=utils
30 CATEGORY:=Utilities
31 SUBMENU:=Terminal
32 TITLE:=Terminal multiplexer
33 DEPENDS:=+libncurses +libevent2 +libpthread +librt
34 URL:=http://tmux.github.io/
35 endef
36
37 define Package/tmux/description
38 tmux is a modern, BSD-licensed alternative to GNU screen.
39 endef
40
41 define Package/tmux/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,tmux))