You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.2 KiB

  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. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=pv
  10. PKG_VERSION:=1.6.6
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_SOURCE_URL:=https://www.ivarch.com/programs/sources
  14. PKG_HASH:=608ef935f7a377e1439c181c4fc188d247da10d51a19ef79bcdee5043b0973f1
  15. PKG_LICENSE:=Artistic-2.0
  16. PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/pv
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. TITLE:=Shell pipeline element to meter data passing through
  23. URL:=https://www.ivarch.com/programs/pv.shtml
  24. endef
  25. define Package/pv/description
  26. Pipe Viewer is a terminal-based tool for monitoring the progress of data
  27. through a pipeline. It can be inserted into any normal pipeline between
  28. two processes to give a visual indication of how quickly data is passing
  29. through, how long it has taken, how near to completion it is, and an
  30. estimate of how long it will be until completion.
  31. endef
  32. define Package/pv/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pv $(1)/usr/bin/
  35. endef
  36. $(eval $(call BuildPackage,pv))