dev-util/cloc - 2.00 (gentoo)

Search

Package Information

Description:
Count Lines of Code
Homepage:
https://github.com/AlDanial/cloc
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
2.00 8 amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Count Lines of Code"
HOMEPAGE="https://github.com/AlDanial/cloc"
SRC_URI="https://github.com/AlDanial/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"

DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}
	dev-perl/Algorithm-Diff
	dev-perl/Parallel-ForkManager
	dev-perl/Regexp-Common
	virtual/perl-Digest-MD5
	virtual/perl-File-Spec
	virtual/perl-File-Temp
	virtual/perl-Getopt-Long"

src_compile() {
	pod2man "Unix/${PN}.1.pod" > "${PN}.1" || die
}

src_install() {
	doman "${PN}.1"
	dobin "Unix/${PN}"
}

Dependencies

DEPEND

dev-lang/perl

RDEPEND

dev-lang/perl
	dev-perl/Algorithm-Diff
	dev-perl/Parallel-ForkManager
	dev-perl/Regexp-Common
	virtual/perl-Digest-MD5
	virtual/perl-File-Spec
	virtual/perl-File-Temp
	virtual/perl-Getopt-Long

Manifest for 2.00

Type File Size Source URLs
DIST cloc-2.00.tar.gz 687731 bytes https://github.com/AlDanial/cloc/archive/refs/tags/v2.00.tar.gz