diff options
author | Sam James <sam@gentoo.org> | 2021-07-31 05:58:20 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-07-31 05:58:39 +0100 |
commit | 34e2da370e2c4e21c19ae0657e4d09bd147fcb09 (patch) | |
tree | eb4dd17509649998b64305b63fe62c63ac4a334b /sys-apps/progress/progress-0.15-r1.ebuild | |
parent | net-mail/fetchmail: Stabilize 6.4.20 ppc, #804921 (diff) | |
download | gentoo-34e2da370e2c4e21c19ae0657e4d09bd147fcb09.tar.gz gentoo-34e2da370e2c4e21c19ae0657e4d09bd147fcb09.tar.bz2 gentoo-34e2da370e2c4e21c19ae0657e4d09bd147fcb09.zip |
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>
Diffstat (limited to 'sys-apps/progress/progress-0.15-r1.ebuild')
-rw-r--r-- | sys-apps/progress/progress-0.15-r1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-apps/progress/progress-0.15-r1.ebuild b/sys-apps/progress/progress-0.15-r1.ebuild new file mode 100644 index 000000000000..7b1766238200 --- /dev/null +++ b/sys-apps/progress/progress-0.15-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Coreutils Viewer: show progress for cp, rm, dd, and so forth" +HOMEPAGE="https://github.com/Xfennec/progress" +SRC_URI="https://github.com/Xfennec/progress/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" + +RDEPEND="sys-libs/ncurses:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + tc-export CC +} + +src_install() { + emake PREFIX="${ED}/usr" install + dodoc README.md +} |