Files
guru/sys-process/iotop-c/iotop-c-1.9.ebuild
Zamarin Arthur 40211fec30 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>
2020-08-28 07:56:09 +03:00

30 lines
598 B
Bash

# 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
}