sys-process/iotop-c: v1.9 bump

- after long hibernation, the project is active again
- fix ncursesw direct linking, use pkg-config for libs
- fix license to GPL-2+

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Zamarin Arthur <arthurzam@gmail.com>
This commit is contained in:
Zamarin Arthur
2020-08-28 07:56:09 +03:00
parent 928ca0992c
commit 40211fec30
2 changed files with 30 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST iotop-c-0_pre20140824.tar.gz 16154 BLAKE2B ccd5a1d0901ce7d6c554f9b4a2102e7eab9f9bb456f7f2289b0c7b158c8f220339bc018aeb9295f89b717a711b69cb7f1c144d0c84dce093309e6897ac22a67d SHA512 3dac84abff82f1ec6c14a0dae14c11a2260ebe0a6ec112cda06ecfe2cf8535536c92f432fc03cc2baee6b7326eb4dda4fc2fe08a15c41a78641822daea5726d0
DIST iotop-c-1.9.tar.gz 28680 BLAKE2B 7e30ca3cec2694afeb2bead7f97eb7ee0dcb3066cf4d1643771b04b724789b9b09836998f6f693bc0a3332b4bb06fb36c46c6ae9b37f0b8088c212136d5bd9f3 SHA512 99a1b9bcae13dbcead1e1c9df8618164be0f9c81e7220d2d4b1e0b8d1528b6a4f6845763a6c04a38510a4174bcaf21abb216f582f49729820cd579e0ca2856f9

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="top utility for IO (C port)"
HOMEPAGE="https://github.com/Tomas-M/iotop"
SRC_URI="https://github.com/Tomas-M/iotop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="sys-libs/ncurses:=
!sys-process/iotop"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/iotop-${PV}"
src_prepare() {
default
sed -i Makefile -e "s/-lncursesw/$(pkg-config --libs ncursesw)/"
}
src_install() {
dobin iotop
dodoc README.md
}