mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-apps/progress: port to EAPI 7
We also add a missing subslot dependency on sys-libs/ncurses, as we link against it. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Coreutils Viewer: show progress for cp, rm, dd, and so forth"
|
||||
@@ -12,17 +13,17 @@ LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
|
||||
RDEPEND="sys-libs/ncurses"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="sys-libs/ncurses:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${D}/${EPREFIX}/usr" install
|
||||
emake PREFIX="${ED}/usr" install
|
||||
dodoc README.md
|
||||
}
|
||||
Reference in New Issue
Block a user