summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/diffutils/diffutils_3.4.bb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2016-08-19 16:00:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-20 16:06:03 +0100
commita65de2b20011bf3654a749f49ff833edd595ec3b (patch)
tree6e4df05eab0f6ddbeaa396b4702f4ebdbe398efc /meta/recipes-extended/diffutils/diffutils_3.4.bb
parentc80af1617e4f88726ae65f29ba7bba57d165cbd8 (diff)
downloadpoky-a65de2b20011bf3654a749f49ff833edd595ec3b.tar.gz
diffutils: upgrade to 3.4
(From OE-Core rev: 98a23eaf837692ad7d2a1d04318118c41052f7b0) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils/diffutils_3.4.bb')
-rw-r--r--meta/recipes-extended/diffutils/diffutils_3.4.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils_3.4.bb b/meta/recipes-extended/diffutils/diffutils_3.4.bb
new file mode 100644
index 0000000000..cb7092b514
--- /dev/null
+++ b/meta/recipes-extended/diffutils/diffutils_3.4.bb
@@ -0,0 +1,37 @@
1LICENSE = "GPLv3+"
2LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
3
4require diffutils.inc
5
6SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
7 file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
8 file://run-ptest \
9"
10
11EXTRA_OECONF += "--without-libsigsegv-prefix"
12
13do_configure_prepend () {
14 # Need to remove gettext macros with weird mix of versions
15 for i in codeset.m4 gettext_gl.m4 intlmacosx.m4 inttypes-pri.m4 lib-ld_gl.m4 lib-prefix_gl.m4 po_gl.m4 ssize_t.m4 wchar_t.m4 wint_t.m4; do
16 rm -f ${S}/m4/$i
17 done
18}
19
20SRC_URI[md5sum] = "df9ca465f30307cffd03da176a43a5d4"
21SRC_URI[sha256sum] = "db53c025f2ac3d217bcf753dad6dee7b410b33d0948495ff015aaf8b91189ce2"
22
23inherit ptest
24
25do_install_ptest() {
26 t=${D}${PTEST_PATH}
27 install -D ${S}/build-aux/test-driver $t/build-aux/test-driver
28 cp -r ${S}/tests $t/
29 install ${B}/tests/Makefile $t/tests/
30 sed -e 's|^Makefile:|_Makefile:|' \
31 -e 's|bash|sh|' \
32 -e 's|^top_srcdir = \(.*\)|top_srcdir = ..\/|' \
33 -e 's|^srcdir = \(.*\)|srcdir = .|' \
34 -e 's|"`$(built_programs)`"|diff|' \
35 -e 's|gawk|awk|g' \
36 -i $t/tests/Makefile
37}