diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-02-19 21:37:16 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-21 22:05:34 +0000 |
commit | aba8f4a5a59294086d4b61eae4ab16401f5da6cc (patch) | |
tree | fb96b2739f4697511ca2e4c8b93c51ade024df05 /meta/recipes-devtools/quilt/quilt.inc | |
parent | e0a55a90bb26825c5cea0640b0da8d1ab98cbcf2 (diff) | |
download | poky-aba8f4a5a59294086d4b61eae4ab16401f5da6cc.tar.gz |
quilt: 0.63 -> 0.64
quilt-0.63.inc -> quilt.inc: we don't have multiple quilt-xxx.inc, so
use quilt.inc rather than quilt-0.63.inc.
(From OE-Core rev: 941be822ee7772b70fe78e6b61278bb8567bc905)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/quilt/quilt.inc')
-rw-r--r-- | meta/recipes-devtools/quilt/quilt.inc | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc new file mode 100644 index 0000000000..ac7ef93e1e --- /dev/null +++ b/meta/recipes-devtools/quilt/quilt.inc | |||
@@ -0,0 +1,61 @@ | |||
1 | SUMMARY = "Tool for working with series of patches" | ||
2 | HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/" | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
6 | |||
7 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/quilt/quilt-${PV}.tar.gz \ | ||
8 | file://install.patch \ | ||
9 | file://run-ptest \ | ||
10 | file://Makefile \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[md5sum] = "fc0310db5868a0873d602d4332a76d43" | ||
14 | SRC_URI[sha256sum] = "c4bfd3282214a288e8d3e921ae4d52e73e24c4fead72b5446752adee99a7affd" | ||
15 | |||
16 | inherit autotools-brokensep ptest | ||
17 | |||
18 | EXTRA_OECONF_darwin += "--without-date \ | ||
19 | --without-getopt \ | ||
20 | " | ||
21 | |||
22 | CLEANBROKEN = "1" | ||
23 | |||
24 | PACKAGES += "guards guards-doc" | ||
25 | FILES_${PN} = "${sysconfdir} ${datadir}/quilt \ | ||
26 | ${bindir}/quilt ${libdir}/quilt" | ||
27 | FILES_guards = "${bindir}/guards" | ||
28 | FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}" | ||
29 | FILES_guards-doc = "${mandir}/man1/guards.1" | ||
30 | |||
31 | RDEPENDS_${PN} = "bash" | ||
32 | |||
33 | EXTRA_OE_MAKE_ARGS_darwin ?= "" | ||
34 | EXTRA_OE_MAKE_ARGS ?= "BUILD_ROOT=${D}" | ||
35 | |||
36 | CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash" | ||
37 | |||
38 | # quilt ignores DESTDIR | ||
39 | do_install () { | ||
40 | oe_runmake ${EXTRA_OE_MAKE_ARGS} install | ||
41 | # cleanup unpackaged files | ||
42 | rm -rf ${D}/${datadir}/emacs | ||
43 | } | ||
44 | |||
45 | do_compile_ptest() { | ||
46 | oe_runmake bin/patch-wrapper test/.depend | ||
47 | } | ||
48 | |||
49 | do_install_ptest() { | ||
50 | tar -cf - bin/ --exclude \*.in | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
51 | tar -cf - compat/ --exclude \*.in | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
52 | tar -cf - quilt/ --exclude \*.in | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
53 | tar -cf - test/ --exclude mail.test --exclude delete.test | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
54 | cp ${WORKDIR}/Makefile ${D}${PTEST_PATH} | ||
55 | } | ||
56 | |||
57 | RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \ | ||
58 | perl-module-filehandle perl-module-getopt-std \ | ||
59 | perl-module-posix perl-module-file-temp \ | ||
60 | perl-module-text-parsewords bash \ | ||
61 | " | ||