[oe-commits] [meta-openembedded] 02/02: cloc: new package

git at git.openembedded.org git at git.openembedded.org
Sun Jan 12 16:26:08 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 296f0a46cad7248fa9897c222054085dbb2e1cf7
Author: Bartosz Golaszewski <bgolaszewski at baylibre.com>
AuthorDate: Sat Jan 11 19:19:22 2020 +0100

    cloc: new package
    
    This adds a recipe for cloc - a command-line tool for counting lines
    of code.
    
    Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-devtools/cloc/cloc_1.84.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

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 0000000..f9ecd0e
--- /dev/null
+++ b/meta-oe/recipes-devtools/cloc/cloc_1.84.bb
@@ -0,0 +1,19 @@
+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"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install() {
+    install -D -m 0755 ${S}/cloc ${D}${bindir}/cloc
+}
+
+RDEPENDS_${PN} = "perl perl-modules"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list