diff options
Diffstat (limited to 'poky/meta/recipes-devtools/diffstat')
-rw-r--r-- | poky/meta/recipes-devtools/diffstat/diffstat/run-ptest | 5 | ||||
-rw-r--r-- | poky/meta/recipes-devtools/diffstat/diffstat_1.61.bb | 27 |
2 files changed, 32 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/diffstat/diffstat/run-ptest b/poky/meta/recipes-devtools/diffstat/diffstat/run-ptest new file mode 100644 index 000000000..a936b3d3f --- /dev/null +++ b/poky/meta/recipes-devtools/diffstat/diffstat/run-ptest @@ -0,0 +1,5 @@ +#!/bin/sh + +./testing/run_test.sh ./testing/case*.pat |sed \ + -e 's|** ok|PASS|' \ + -e 's|?? fail|FAIL|' diff --git a/poky/meta/recipes-devtools/diffstat/diffstat_1.61.bb b/poky/meta/recipes-devtools/diffstat/diffstat_1.61.bb new file mode 100644 index 000000000..f8b7b06cf --- /dev/null +++ b/poky/meta/recipes-devtools/diffstat/diffstat_1.61.bb @@ -0,0 +1,27 @@ +SUMMARY = "Tool to produce a statistics based on a diff" +DESCRIPTION = "diffstat reads the output of diff and displays a histogram of \ +the insertions, deletions, and modifications per-file. It is useful for \ +reviewing large, complex patch files." +HOMEPAGE = "http://invisible-island.net/diffstat/" +SECTION = "devel" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://install-sh;endline=42;md5=b3549726c1022bee09c174c72a0ca4a5" + +SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ + file://run-ptest \ +" + +SRC_URI[md5sum] = "c048a32d55d8bd6724f382baf41f325f" +SRC_URI[sha256sum] = "25359e0c27183f997b36c9202583b5dc2df390c20e22a92606af4bf7856a55ee" + +S = "${WORKDIR}/diffstat-${PV}" + +inherit autotools gettext ptest + +EXTRA_AUTORECONF += "--exclude=aclocal" + +LDFLAGS += "${TOOLCHAIN_OPTIONS}" + +do_install_ptest() { + cp -r ${S}/testing ${D}${PTEST_PATH} +} |