2009-11-22 16:17:06 +00:00
|
|
|
#
|
2011-01-03 01:48:20 +00:00
|
|
|
# Copyright (C) 2009-2011 OpenWrt.org
|
2009-11-22 16:17:06 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=tmux
|
2011-07-31 15:19:51 +00:00
|
|
|
PKG_VERSION:=1.5
|
2011-08-14 07:29:18 +00:00
|
|
|
PKG_RELEASE:=3
|
2009-11-22 16:17:06 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/tmux
|
2011-07-31 15:19:51 +00:00
|
|
|
PKG_MD5SUM:=3d4b683572af34e83bc8b183a8285263
|
2010-07-22 03:07:46 +00:00
|
|
|
|
|
|
|
PKG_INSTALL:=1
|
2011-07-31 15:19:51 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2009-11-22 16:17:06 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/tmux
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=Terminal multiplexer
|
2011-08-14 07:29:18 +00:00
|
|
|
DEPENDS:=+libncurses +libevent2 +libpthread +librt
|
2010-07-22 03:07:46 +00:00
|
|
|
URL:=http://tmux.sourceforge.net/
|
2009-11-22 16:17:06 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/tmux/description
|
|
|
|
tmux is a modern, BSD-licensed alternative to GNU screen.
|
|
|
|
endef
|
|
|
|
|
2010-07-22 03:07:46 +00:00
|
|
|
MAKE_FLAGS += \
|
|
|
|
PREFIX="/usr" \
|
2011-07-31 19:48:33 +00:00
|
|
|
PLATFORM="linux"
|
2009-11-22 16:17:06 +00:00
|
|
|
|
|
|
|
define Package/tmux/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2010-07-22 03:07:46 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
|
2009-11-22 16:17:06 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,tmux))
|