haproxy: update to v3.0.2
[feed/packages.git] / utils / progress / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=progress
11 PKG_VERSION:=0.15
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://codeload.github.com/Xfennec/progress/tar.gz/v$(PKG_VERSION)?
16 PKG_HASH:=1ed0ac65a912ef1aa605d524eaddaacae92079cf71182096a7c65cbc61687d1b
17
18 PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com>
19 PKG_LICENSE:=GPL-3.0-or-later
20 PKG_LICENSE_FILES:=LICENSE
21
22 PKG_INSTALL:=1
23 PKG_BUILD_PARALLEL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/progress
28 SECTION:=utils
29 CATEGORY:=Utilities
30 TITLE:=Coreutils Progress Viewer (formerly known as 'cv')
31 URL:=https://github.com/Xfennec/progress
32 DEPENDS:=+libncursesw
33 endef
34
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).
41 .
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.
45 .
46 It's very light, and compatible with virtually any command.
47 This program was formerly known as 'cv' on github.
48 endef
49
50 define Package/progress/install
51 $(INSTALL_DIR) $(1)/usr/bin
52 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/progress $(1)/usr/bin/
53 endef
54
55 $(eval $(call BuildPackage,progress))