diff options
Diffstat (limited to 'meta-oe/recipes-devtools/cloc/cloc_1.92.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/cloc/cloc_1.92.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/cloc/cloc_1.92.bb b/meta-oe/recipes-devtools/cloc/cloc_1.92.bb new file mode 100644 index 0000000000..2b9f29969b --- /dev/null +++ b/meta-oe/recipes-devtools/cloc/cloc_1.92.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | SUMMARY = "Count blank lines, comment lines, and physical lines of source code \ | ||
| 2 | in many programming languages." | ||
| 3 | AUTHOR = "Al Danial" | ||
| 4 | |||
| 5 | LICENSE="GPL-2.0" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2" | ||
| 7 | |||
| 8 | SRC_URI = "https://github.com/AlDanial/cloc/releases/download/v${PV}/${BP}.tar.gz" | ||
| 9 | SRC_URI[sha256sum] = "73570f9da159fab13846038de7c3d8772554117c04117281dcbe6e5c7b988264" | ||
| 10 | |||
| 11 | UPSTREAM_CHECK_URI = "https://github.com/AlDanial/${BPN}/releases" | ||
| 12 | |||
| 13 | do_configure[noexec] = "1" | ||
| 14 | do_compile[noexec] = "1" | ||
| 15 | |||
| 16 | do_install() { | ||
| 17 | install -D -m 0755 ${S}/cloc ${D}${bindir}/cloc | ||
| 18 | } | ||
| 19 | |||
| 20 | RDEPENDS:${PN} = "perl perl-modules" | ||
