packages/utils/pv: make pv depend on libncurses
[openwrt/svn-archive/archive.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 DEPENDS:=+libncurses
26 endef
27
28 define Package/pv/description
29 Pipe Viewer is a terminal-based tool for monitoring the progress of data
30 through a pipeline. It can be inserted into any normal pipeline between
31 two processes to give a visual indication of how quickly data is passing
32 through, how long it has taken, how near to completion it is, and an
33 estimate of how long it will be until completion.
34 endef
35
36 define Package/pv/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/pv $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,pv))
42