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