2 # Copyright (C) 2009-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/tmux
17 PKG_MD5SUM:=748fbe7bb5f86812e19bd6005ff21a5a
19 include $(INCLUDE_DIR)/package.mk
24 TITLE:=Terminal multiplexer
25 DEPENDS:=+libncurses +libevent +librt
26 URL:=http://tmux.sourceforge.net
29 define Package/tmux/description
30 tmux is a modern, BSD-licensed alternative to GNU screen.
35 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
36 LDFLAGS="$(TARGET_LDFLAGS)" \
37 TMUX_PLATFORM="Linux" \
38 $(MAKE) -C $(PKG_BUILD_DIR) all
41 define Package/tmux/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tmux $(1)/usr/bin/
46 $(eval $(call BuildPackage,tmux))