lede-packages-rs

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

Makefile (1245B)


      1 #
      2 # Copyright (C) 2008 David Cooper
      3 # Copyright (C) 2008-2014 OpenWrt.org
      4 #
      5 # This is free software, licensed under the GNU General Public License v2.
      6 # See /LICENSE for more information.
      7 #
      8 
      9 include $(TOPDIR)/rules.mk
     10 
     11 PKG_NAME:=pv
     12 PKG_VERSION:=1.5.3
     13 PKG_RELEASE:=1
     14 
     15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
     16 PKG_SOURCE_URL:=http://www.ivarch.com/programs/sources/
     17 PKG_MD5SUM:=efe8e9e4cad5f3264a32258a63bf2c8e
     18 PKG_LICENSE:=Artistic-2.0
     19 PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
     20 
     21 PKG_INSTALL:=1
     22 
     23 include $(INCLUDE_DIR)/package.mk
     24 
     25 define Package/pv
     26   SECTION:=utils
     27   CATEGORY:=Utilities
     28   TITLE:=Shell pipeline element to meter data passing through
     29   URL:=http://www.ivarch.com/programs/pv.shtml
     30 endef
     31 
     32 define Package/pv/description
     33  Pipe Viewer is a terminal-based tool for monitoring the progress of data
     34  through a pipeline. It can be inserted into any normal pipeline between
     35  two processes to give a visual indication of how quickly data is passing
     36  through, how long it has taken, how near to completion it is, and an
     37  estimate of how long it will be until completion.
     38 endef
     39 
     40 define Package/pv/install
     41 	$(INSTALL_DIR) $(1)/usr/bin
     42 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pv $(1)/usr/bin/
     43 endef
     44 
     45 $(eval $(call BuildPackage,pv))
     46