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.

55 lines
1.7 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.15
  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:=1ed0ac65a912ef1aa605d524eaddaacae92079cf71182096a7c65cbc61687d1b
  14. PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com>
  15. PKG_LICENSE:=GPL-3.0-or-later
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/progress
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. TITLE:=Coreutils Progress Viewer (formerly known as 'cv')
  24. URL:=https://github.com/Xfennec/progress
  25. DEPENDS:=+libncursesw
  26. endef
  27. define Package/progress/description
  28. This tool can be described as a Tiny, Dirty, Linux-and-OSX-Only
  29. C command that looks for coreutils basic commands (cp, mv, dd, tar,
  30. gzip/gunzip, cat, etc.) currently running on your system and
  31. displays the percentage of copied data. It can also show estimated
  32. time and throughput, and provide a "top-like" mode (monitoring).
  33. .
  34. It simply scans `/proc` for interesting commands, and then looks at
  35. directories `fd` and `fdinfo` to find opened files and seek positions,
  36. and reports status for the largest file.
  37. .
  38. It's very light, and compatible with virtually any command.
  39. This program was formerly known as 'cv' on github.
  40. endef
  41. define Package/progress/install
  42. $(INSTALL_DIR) $(1)/usr/bin
  43. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/progress $(1)/usr/bin/
  44. endef
  45. $(eval $(call BuildPackage,progress))