Files
Pierre-Jean Texier 4211ff4855 cloc: fix upstream version check
Fixes:

INFO: Skip package cloc (status = UNKNOWN_BROKEN, current version = 1.84, next version = N/A)

After this commit:

INFO: Skip package cloc (status = MATCH, current version = 1.84, next version = 1.84)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-05 07:11:50 -08:00

22 lines
679 B
BlitzBasic

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/${PV}/${BP}.tar.gz"
SRC_URI[md5sum] = "a52f3843825377cfa4e4b3b30a567ab4"
SRC_URI[sha256sum] = "c3f0a6bd2319110418ccb3e55a7a1b6d0edfd7528bfd2ae5d530938abe90f254"
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"