[packages] mtd-utils: bump pkg rev as well
[packages.git] / utils / tmux / Makefile
1 #
2 # Copyright (C) 2009-2011 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.5
12 PKG_RELEASE:=3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/tmux
16 PKG_MD5SUM:=3d4b683572af34e83bc8b183a8285263
17
18 PKG_INSTALL:=1
19 PKG_FIXUP:=autoreconf
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/tmux
24   SECTION:=utils
25   CATEGORY:=Utilities
26   TITLE:=Terminal multiplexer
27   DEPENDS:=+libncurses +libevent2 +libpthread +librt
28   URL:=http://tmux.sourceforge.net/
29 endef
30
31 define Package/tmux/description
32   tmux is a modern, BSD-licensed alternative to GNU screen.
33 endef
34
35 MAKE_FLAGS += \
36         PREFIX="/usr" \
37         PLATFORM="linux"
38
39 define Package/tmux/install
40         $(INSTALL_DIR) $(1)/usr/bin
41         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,tmux))