blob: 2b9f29969bcf5d3283f3d38d018e95eba47c5a40 [file] [log] [blame]
SUMMARY = "Count blank lines, comment lines, and physical lines of source code \
in many programming languages."
AUTHOR = "Al Danial"
LICENSE="GPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
SRC_URI = "https://github.com/AlDanial/cloc/releases/download/v${PV}/${BP}.tar.gz"
SRC_URI[sha256sum] = "73570f9da159fab13846038de7c3d8772554117c04117281dcbe6e5c7b988264"
UPSTREAM_CHECK_URI = "https://github.com/AlDanial/${BPN}/releases"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install() {
install -D -m 0755 ${S}/cloc ${D}${bindir}/cloc
}
RDEPENDS:${PN} = "perl perl-modules"