lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (1123B)


      1 #
      2 # Copyright (C) 2009-2016 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:=2.3
     12 PKG_RELEASE:=1
     13 
     14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
     15 PKG_SOURCE_URL:=https://github.com/tmux/tmux/releases/download/$(PKG_VERSION)
     16 PKG_MD5SUM:=55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b
     17 PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
     18 
     19 PKG_LICENSE:=ISC
     20 PKG_LICENSE_FILES:=COPYING
     21 
     22 PKG_BUILD_PARALLEL:=1
     23 PKG_INSTALL:=1
     24 
     25 include $(INCLUDE_DIR)/package.mk
     26 
     27 define Package/tmux
     28   SECTION:=utils
     29   CATEGORY:=Utilities
     30   SUBMENU:=Terminal
     31   TITLE:=Terminal multiplexer
     32   DEPENDS:=+libncurses +libevent2 +libpthread +librt
     33   URL:=http://tmux.sourceforge.net/
     34 endef
     35 
     36 define Package/tmux/description
     37   tmux is a modern, BSD-licensed alternative to GNU screen.
     38 endef
     39 
     40 MAKE_FLAGS += \
     41 	PREFIX="/usr" \
     42 	PLATFORM="linux"
     43 
     44 define Package/tmux/install
     45 	$(INSTALL_DIR) $(1)/usr/bin
     46 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmux $(1)/usr/bin/
     47 endef
     48 
     49 $(eval $(call BuildPackage,tmux))