Install this version:
emerge -a =dev-util/scc-3.2.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/scc-3.2.0
Or alternatively:
emerge --autounmask-write -a =dev-util/scc-3.2.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.2.0 | 8 | ~amd64 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="scc is a very fast accurate code counter"
HOMEPAGE="https://github.com/boyter/scc/tree/master"
SRC_URI="https://github.com/boyter/scc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT Unlicense"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
DOCS="CONTRIBUTING.md LANGUAGES.md README.md examples"
src_compile() {
go build
}
src_install() {
dobin scc
einstalldocs
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | scc-3.2.0.tar.gz | 2352241 bytes | https://github.com/boyter/scc/archive/refs/tags/v3.2.0.tar.gz |