2 # Copyright (C) 2016 Nikil Mehta <nikil.mehta@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE_URL
:=https
://github.com
/Xfennec
/progress.git
16 PKG_SOURCE_VERSION
:=f6894b827c638af5cf8c5c622e66491c179ba2eb
17 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.xz
19 PKG_MIRROR_HASH
:=143047dd44f78c10763446097bcadc551e99a7a8fefc484ef5a65d7bcbe8c181
21 PKG_MAINTAINER
:=Nikil Mehta
<nikil.mehta@gmail.com
>
23 PKG_LICENSE_FILES
:=LICENSE
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/progress
30 TITLE
:=Coreutils Progress Viewer
(formerly known
as 'cv')
31 URL
:=https
://github.com
/Xfennec
/progress
35 define Package
/progress
/description
36 This tool can be described
as a Tiny
, Dirty
, Linux-and-OSX-Only
37 C command that looks for coreutils basic commands
(cp
, mv
, dd
, tar,
38 gzip
/gunzip
, cat
, etc.
) currently running on your system and
39 displays the percentage of copied data. It can also show estimated
40 time and throughput
, and provide a
"top-like" mode
(monitoring
).
42 It simply scans
`/proc` for interesting commands
, and then looks at
43 directories
`fd` and
`fdinfo` to find opened files and seek positions
,
44 and reports status for the largest file.
46 It
's very light, and compatible with virtually any command.
47 This program was formerly known as 'cv
' on github.
50 define Package/progress/install
51 $(INSTALL_DIR) $(1)/usr/bin
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/progress $(1)/usr/bin/
55 $(eval $(call BuildPackage,progress))