aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@freescale.com>2015-01-14 23:36:03 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-01-20 16:06:14 +0100
commit5bbd2ba560ed5e52a7b60f9485a66d1f1464508d (patch)
tree99bcd0ef49add638a0fc666fb0353b1e5db8add5
parent4ec551cd35782add19eab976859f5dcbab5cefd9 (diff)
downloadmeta-openembedded-contrib-5bbd2ba560ed5e52a7b60f9485a66d1f1464508d.tar.gz
meta-openembedded-contrib-5bbd2ba560ed5e52a7b60f9485a66d1f1464508d.tar.bz2
meta-openembedded-contrib-5bbd2ba560ed5e52a7b60f9485a66d1f1464508d.zip
lcov: add initial recipe 1.11
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/lcov/lcov_1.11.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lcov/lcov_1.11.bb b/meta-oe/recipes-support/lcov/lcov_1.11.bb
new file mode 100644
index 0000000000..5f3b889346
--- /dev/null
+++ b/meta-oe/recipes-support/lcov/lcov_1.11.bb
@@ -0,0 +1,28 @@
+SUMMARY = "A graphical front-end for gcov"
+HOMEPAGE = "http://ltp.sourceforge.net/coverage/lcov.php"
+DESCRIPTION = "LCOV is a graphical front-end for GCC's coverage testing \
+tool gcov. It collects gcov data for multiple source files and creates \
+HTML pages containing the source code annotated with coverage information. \
+It also adds overview pages for easy navigation within the file structure. \
+LCOV supports statement, function and branch coverage measurement."
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+RDEPENDS_${PN} += " \
+ gcov \
+ perl \
+ perl-module-filehandle \
+ perl-module-getopt-std \
+ perl-module-digest-sha \
+"
+
+SRC_URI = "http://downloads.sourceforge.net/ltp/${BP}.tar.gz"
+
+SRC_URI[md5sum] = "e79b799ae3ce149aa924c7520e993024"
+SRC_URI[sha256sum] = "c282de8d678ecbfda32ce4b5c85fc02f77c2a39a062f068bd8e774d29ddc9bf8"
+
+do_install() {
+ oe_runmake install PREFIX=${D}
+ sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/*
+}
+