sys-process/ctop - 9999 (mva)

Search

Install

Install this version:

emerge -a =sys-process/ctop-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-process/ctop-9999

Or alternatively:

emerge --autounmask-write -a =sys-process/ctop-9999

Package Information

Description:
Top-like interface for container-metrics
Homepage:
https://ctop.sh https://github.com/bcicen/ctop
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License

EAPI=8

inherit go-module git-r3

DESCRIPTION="Top-like interface for container-metrics"
HOMEPAGE="https://ctop.sh https://github.com/bcicen/ctop"
EGIT_REPO_URI="https://github.com/bcicen/${PN}"
LICENSE="MIT"
SLOT="0"
IUSE="hardened"
# RESTRICT="test"

src_unpack() {
	git-r3_src_unpack
	go-module_live_vendor
}

src_compile() {
	export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
	ego build -ldflags "-X main.version=${PV} -X main.build=${EGIT_COMMIT:0:7}" -o "${PN}"
}

src_install() {
	dobin "${PN}"
	dodoc README.md
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-process/ctop | euse -E <flag> -p sys-process/ctop | euse -D <flag> -p sys-process/ctop

Global/Standard Flags

Inherited Eclasses