|
@@ -0,0 +1,43 @@
|
|
1
|
+#
|
|
2
|
+# Copyright (C) 2009-2012 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.9a
|
|
12
|
+PKG_RELEASE:=1
|
|
13
|
+
|
|
14
|
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
15
|
+PKG_SOURCE_URL:=@SF/tmux
|
|
16
|
+PKG_MD5SUM:=b07601711f96f1d260b390513b509a2d
|
|
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 +libevent2 +libpthread +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
|
+ 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))
|