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