1
0

Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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.5.3
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_SOURCE_URL:=http://www.ivarch.com/programs/sources/
  14. PKG_HASH:=76f3999b1c3b3027163dce6ef667cdf8dafb75218ee25e54a03bfe590478f90e
  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:=http://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))