Add pipeviewer (#4257)
[packages.git] / utils / pv / Makefile
1
2 # Copyright (C) 2008 David Cooper, 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:=pv
11 PKG_VERSION:=1.1.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://pipeviewer.googlecode.com/files/
16 PKG_MD5SUM:=63033e090d61a040407bfd043aeb6d27
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/pv
21   SECTION:=utils
22   CATEGORY:=Utilities
23   TITLE:=Shell pipeline element to meter data passing through
24   URL:=http://www.ivarch.com/programs/pv.shtml
25 endef
26
27 define Package/pv/description
28  Pipe Viewer is a terminal-based tool for monitoring the progress of data
29  through a pipeline. It can be inserted into any normal pipeline between
30  two processes to give a visual indication of how quickly data is passing
31  through, how long it has taken, how near to completion it is, and an
32  estimate of how long it will be until completion.
33 endef
34
35 define Package/pv/install
36         $(INSTALL_DIR) $(1)/usr/bin
37         $(INSTALL_BIN) $(PKG_BUILD_DIR)/pv $(1)/usr/bin/
38 endef
39
40 $(eval $(call BuildPackage,pv))
41