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)" \
36 CPPFLAGS
="$(TARGET_CPPFLAGS)" \
37 LDFLAGS
="$(TARGET_LDFLAGS)" \
38 TMUX_PLATFORM
="Linux" \
39 $(MAKE
) -C
$(PKG_BUILD_DIR
) all
42 define Package
/tmux
/install
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tmux
$(1)/usr
/bin
/
47 $(eval
$(call BuildPackage
,tmux
))