diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-devtools/diffstat | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-devtools/diffstat')
-rw-r--r-- | meta/recipes-devtools/diffstat/diffstat/run-ptest | 5 | ||||
-rw-r--r-- | meta/recipes-devtools/diffstat/diffstat_1.59.bb | 30 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/diffstat/diffstat/run-ptest b/meta/recipes-devtools/diffstat/diffstat/run-ptest new file mode 100644 index 0000000000..a936b3d3fe --- /dev/null +++ b/meta/recipes-devtools/diffstat/diffstat/run-ptest | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | ./testing/run_test.sh ./testing/case*.pat |sed \ | ||
4 | -e 's|** ok|PASS|' \ | ||
5 | -e 's|?? fail|FAIL|' | ||
diff --git a/meta/recipes-devtools/diffstat/diffstat_1.59.bb b/meta/recipes-devtools/diffstat/diffstat_1.59.bb new file mode 100644 index 0000000000..f599622b3e --- /dev/null +++ b/meta/recipes-devtools/diffstat/diffstat_1.59.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "Tool to produce a statistics based on a diff" | ||
2 | DESCRIPTION = "diffstat reads the output of diff and displays a histogram of \ | ||
3 | the insertions, deletions, and modifications per-file. It is useful for \ | ||
4 | reviewing large, complex patch files." | ||
5 | HOMEPAGE = "http://invisible-island.net/diffstat/" | ||
6 | SECTION = "devel" | ||
7 | LICENSE = "MIT" | ||
8 | LIC_FILES_CHKSUM = "file://install-sh;endline=42;md5=b3549726c1022bee09c174c72a0ca4a5" | ||
9 | |||
10 | SRC_URI = "ftp://invisible-island.net/diffstat/diffstat-${PV}.tgz \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | SRC_URI[md5sum] = "1dc7bc48ce846a0686a1af0d091ff8fb" | ||
15 | SRC_URI[sha256sum] = "267d1441b8889cbefbb7ca7dfd4a17f6c8bc73bc114904c74ecad945a3dbf270" | ||
16 | |||
17 | S = "${WORKDIR}/diffstat-${PV}" | ||
18 | |||
19 | inherit autotools gettext ptest | ||
20 | |||
21 | do_configure () { | ||
22 | if [ ! -e ${S}/acinclude.m4 ]; then | ||
23 | mv ${S}/aclocal.m4 ${S}/acinclude.m4 | ||
24 | fi | ||
25 | autotools_do_configure | ||
26 | } | ||
27 | |||
28 | do_install_ptest() { | ||
29 | cp -r ${S}/testing ${D}${PTEST_PATH} | ||
30 | } | ||