diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-01-11 19:19:22 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-12 08:25:16 -0800 |
commit | 296f0a46cad7248fa9897c222054085dbb2e1cf7 (patch) | |
tree | eecac2a662c9187e571010e991f4d17672c5ef84 | |
parent | 9a1c0b50529ad1f6cf63544a63e1524e465a1a0a (diff) | |
download | meta-openembedded-296f0a46cad7248fa9897c222054085dbb2e1cf7.tar.gz |
cloc: new package
This adds a recipe for cloc - a command-line tool for counting lines
of code.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/cloc/cloc_1.84.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/cloc/cloc_1.84.bb b/meta-oe/recipes-devtools/cloc/cloc_1.84.bb new file mode 100644 index 0000000000..f9ecd0ee44 --- /dev/null +++ b/meta-oe/recipes-devtools/cloc/cloc_1.84.bb | |||
@@ -0,0 +1,19 @@ | |||
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/${PV}/${BP}.tar.gz" | ||
9 | SRC_URI[md5sum] = "a52f3843825377cfa4e4b3b30a567ab4" | ||
10 | SRC_URI[sha256sum] = "c3f0a6bd2319110418ccb3e55a7a1b6d0edfd7528bfd2ae5d530938abe90f254" | ||
11 | |||
12 | do_configure[noexec] = "1" | ||
13 | do_compile[noexec] = "1" | ||
14 | |||
15 | do_install() { | ||
16 | install -D -m 0755 ${S}/cloc ${D}${bindir}/cloc | ||
17 | } | ||
18 | |||
19 | RDEPENDS_${PN} = "perl perl-modules" | ||