[packages] tmux: update to 1.3 (#7642, thanks Zuljin), use PKG_INSTALL, cleanup
[openwrt/svn-archive/archive.git] / utils / tmux / Makefile
1 #
2 # Copyright (C) 2009-2010 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:=1.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/tmux
16 PKG_MD5SUM:=96e60cb206de2db0610b9fb6a64c2251
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/tmux
23 SECTION:=utils
24 CATEGORY:=Utilities
25 TITLE:=Terminal multiplexer
26 DEPENDS:=+libncurses +libevent +librt
27 URL:=http://tmux.sourceforge.net/
28 endef
29
30 define Package/tmux/description
31 tmux is a modern, BSD-licensed alternative to GNU screen.
32 endef
33
34 MAKE_FLAGS += \
35 PREFIX="/usr" \
36 TMUX_PLATFORM="Linux" \
37
38 define Package/tmux/install
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
41 endef
42
43 $(eval $(call BuildPackage,tmux))