summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/quilt/quilt.inc
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-02-19 21:37:16 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-21 22:05:34 +0000
commitaba8f4a5a59294086d4b61eae4ab16401f5da6cc (patch)
treefb96b2739f4697511ca2e4c8b93c51ade024df05 /meta/recipes-devtools/quilt/quilt.inc
parente0a55a90bb26825c5cea0640b0da8d1ab98cbcf2 (diff)
downloadpoky-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.inc61
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 @@
1SUMMARY = "Tool for working with series of patches"
2HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/"
3SECTION = "devel"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6
7SRC_URI = "${SAVANNAH_GNU_MIRROR}/quilt/quilt-${PV}.tar.gz \
8 file://install.patch \
9 file://run-ptest \
10 file://Makefile \
11"
12
13SRC_URI[md5sum] = "fc0310db5868a0873d602d4332a76d43"
14SRC_URI[sha256sum] = "c4bfd3282214a288e8d3e921ae4d52e73e24c4fead72b5446752adee99a7affd"
15
16inherit autotools-brokensep ptest
17
18EXTRA_OECONF_darwin += "--without-date \
19 --without-getopt \
20 "
21
22CLEANBROKEN = "1"
23
24PACKAGES += "guards guards-doc"
25FILES_${PN} = "${sysconfdir} ${datadir}/quilt \
26 ${bindir}/quilt ${libdir}/quilt"
27FILES_guards = "${bindir}/guards"
28FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}"
29FILES_guards-doc = "${mandir}/man1/guards.1"
30
31RDEPENDS_${PN} = "bash"
32
33EXTRA_OE_MAKE_ARGS_darwin ?= ""
34EXTRA_OE_MAKE_ARGS ?= "BUILD_ROOT=${D}"
35
36CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash"
37
38# quilt ignores DESTDIR
39do_install () {
40 oe_runmake ${EXTRA_OE_MAKE_ARGS} install
41 # cleanup unpackaged files
42 rm -rf ${D}/${datadir}/emacs
43}
44
45do_compile_ptest() {
46 oe_runmake bin/patch-wrapper test/.depend
47}
48
49do_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
57RDEPENDS_${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"