Files
gentoo/dev-util/cloc/cloc-1.66.ebuild
T
Kent Fredric c7bf2db6d7 dev-util/cloc: Fix dependency on dev-perl/Regexp-Common
Part of capitalization migration.

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
2016-08-02 23:30:26 +12:00

34 lines
672 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
DESCRIPTION="Count Lines of Code"
HOMEPAGE="https://github.com/AlDanial/cloc"
SRC_URI="https://github.com/AlDanial/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
DEPEND=">=dev-lang/perl-5.6"
RDEPEND="${DEPEND}
dev-perl/Algorithm-Diff
dev-perl/Regexp-Common
virtual/perl-Digest-MD5
virtual/perl-Getopt-Long
virtual/perl-File-Spec
virtual/perl-File-Temp"
src_compile() {
pod2man Unix/${PN}.1.pod > ${PN}.1 || die
}
src_install() {
doman ${PN}.1
dobin Unix/${PN}
}