source: packages/utils/tmux/Makefile @ 18482

Last change on this file since 18482 was 18482, checked in by florian, 7 years ago

[package] add tmux (#6198)

File size: 980 bytes
Line 
1#
2# Copyright (C) 2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10
11PKG_NAME:=tmux
12PKG_VERSION:=1.1
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=@SF/tmux
17PKG_MD5SUM:=faf2fc52ac3ae63d899f6fece2c112cd
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/tmux
22  SECTION:=utils
23  CATEGORY:=Utilities
24  TITLE:=Terminal multiplexer
25  DEPENDS:=+libncurses
26  URL:=http://tmux.sourceforge.net
27endef
28
29define Package/tmux/description
30  tmux is a modern, BSD-licensed alternative to GNU screen.
31endef
32
33define Build/Compile
34        CC="$(TARGET_CC)" \
35        CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
36        LDFLAGS="$(TARGET_LDFLAGS)" \
37        TMUX_PLATFORM="Linux" \
38        $(MAKE) -C $(PKG_BUILD_DIR) all
39endef
40
41define Package/tmux/install
42        $(INSTALL_DIR) $(1)/usr/bin
43        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tmux $(1)/usr/bin/
44endef
45
46$(eval $(call BuildPackage,tmux))
Note: See TracBrowser for help on using the repository browser.