16dabf59ab800e2e6d03f20cb009e17dadbfcb79
[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.2
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_MD5SUM:=bd95ee7205e489c62c616bb7af040099
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
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/tmux
28 SECTION:=utils
29 CATEGORY:=Utilities
30 TITLE:=Terminal multiplexer
31 DEPENDS:=+libncurses +libevent2 +libpthread +librt
32 URL:=http://tmux.sourceforge.net/
33 endef
34
35 define Package/tmux/description
36 tmux is a modern, BSD-licensed alternative to GNU screen.
37 endef
38
39 MAKE_FLAGS += \
40 PREFIX="/usr" \
41 PLATFORM="linux"
42
43 define Package/tmux/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
46 endef
47
48 $(eval $(call BuildPackage,tmux))