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.

52 lines
1.6 KiB

  1. #
  2. # Copyright (C) 2016 Nikil Mehta <nikil.mehta@gmail.com>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=progress
  9. PKG_VERSION:=0.14
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/Xfennec/progress/tar.gz/v$(PKG_VERSION)?
  13. PKG_HASH:=214a0d84b3ee5dde57ec9952ec9aa68ad9261fb336ef025324b344ed7ab48af1
  14. PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com>
  15. PKG_LICENSE:=GPL-3.0
  16. PKG_LICENSE_FILES:=LICENSE
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/progress
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. TITLE:=Coreutils Progress Viewer (formerly known as 'cv')
  22. URL:=https://github.com/Xfennec/progress
  23. DEPENDS:=+libncursesw
  24. endef
  25. define Package/progress/description
  26. This tool can be described as a Tiny, Dirty, Linux-and-OSX-Only
  27. C command that looks for coreutils basic commands (cp, mv, dd, tar,
  28. gzip/gunzip, cat, etc.) currently running on your system and
  29. displays the percentage of copied data. It can also show estimated
  30. time and throughput, and provide a "top-like" mode (monitoring).
  31. .
  32. It simply scans `/proc` for interesting commands, and then looks at
  33. directories `fd` and `fdinfo` to find opened files and seek positions,
  34. and reports status for the largest file.
  35. .
  36. It's very light, and compatible with virtually any command.
  37. This program was formerly known as 'cv' on github.
  38. endef
  39. define Package/progress/install
  40. $(INSTALL_DIR) $(1)/usr/bin
  41. $(INSTALL_BIN) $(PKG_BUILD_DIR)/progress $(1)/usr/bin/
  42. endef
  43. $(eval $(call BuildPackage,progress))