mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
27 lines
611 B
Bash
27 lines
611 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit go-module
|
|
|
|
DESCRIPTION="Top-like interface for container-metrics"
|
|
HOMEPAGE="https://ctop.sh https://github.com/bcicen/ctop"
|
|
SRC_URI="https://github.com/bcicen/ctop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
src_compile() {
|
|
sed -i -e '/go mod download/d' Makefile || die
|
|
|
|
emake VERSION="${PV}" BUILD="${PVR}" build
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${PN}
|
|
dodoc README.md
|
|
}
|