diff options
| author | Chong Lu <Chong.Lu@windriver.com> | 2014-05-16 15:39:42 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-21 09:09:01 +0100 |
| commit | 250b58aa91755ba79b1cc9878f25018d36dfa501 (patch) | |
| tree | 0e4ee8ceba06237bfaa8f05f026d0ebc3c1ffe6a /meta/recipes-devtools/quilt/quilt-0.63.inc | |
| parent | 0a23586271e92784ef184ac852a7a2a24df6b787 (diff) | |
| download | poky-250b58aa91755ba79b1cc9878f25018d36dfa501.tar.gz | |
quilt: Update to 0.63 version
Upgrade quilt to 0.63 version and add perl-module-text-parsewords to
RDEPENDS of ptest.
(From OE-Core rev: 48c09163db18634e3071009b94645812ade285f4)
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/quilt/quilt-0.63.inc')
| -rw-r--r-- | meta/recipes-devtools/quilt/quilt-0.63.inc | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/recipes-devtools/quilt/quilt-0.63.inc b/meta/recipes-devtools/quilt/quilt-0.63.inc new file mode 100644 index 0000000000..f3757859ff --- /dev/null +++ b/meta/recipes-devtools/quilt/quilt-0.63.inc | |||
| @@ -0,0 +1,59 @@ | |||
| 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] = "c0ef4beb58a6fa72563b955e70624b6e" | ||
| 14 | SRC_URI[sha256sum] = "2846788221aa8844c54f10239c7cbc5e88031859162bcc285449446c3cfffe52" | ||
| 15 | |||
| 16 | inherit autotools-brokensep ptest | ||
| 17 | |||
| 18 | EXTRA_OECONF_darwin += "--without-date \ | ||
| 19 | --without-getopt \ | ||
| 20 | " | ||
| 21 | |||
| 22 | PACKAGES += "guards guards-doc" | ||
| 23 | FILES_${PN} = "${sysconfdir} ${datadir}/quilt \ | ||
| 24 | ${bindir}/quilt ${libdir}/quilt" | ||
| 25 | FILES_guards = "${bindir}/guards" | ||
| 26 | FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}" | ||
| 27 | FILES_guards-doc = "${mandir}/man1/guards.1" | ||
| 28 | |||
| 29 | RDEPENDS_${PN} = "bash" | ||
| 30 | |||
| 31 | EXTRA_OE_MAKE_ARGS_darwin ?= "" | ||
| 32 | EXTRA_OE_MAKE_ARGS ?= "BUILD_ROOT=${D}" | ||
| 33 | |||
| 34 | CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash" | ||
| 35 | |||
| 36 | # quilt ignores DESTDIR | ||
| 37 | do_install () { | ||
| 38 | oe_runmake ${EXTRA_OE_MAKE_ARGS} install | ||
| 39 | # cleanup unpackaged files | ||
| 40 | rm -rf ${D}/${datadir}/emacs | ||
| 41 | } | ||
| 42 | |||
| 43 | do_compile_ptest() { | ||
| 44 | oe_runmake bin/patch-wrapper test/.depend | ||
| 45 | } | ||
| 46 | |||
| 47 | do_install_ptest() { | ||
| 48 | tar -cf - bin/ --exclude \*.in | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
| 49 | tar -cf - compat/ --exclude \*.in | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
| 50 | tar -cf - quilt/ --exclude \*.in | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
| 51 | tar -cf - test/ --exclude mail.test --exclude delete.test | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
| 52 | cp ${WORKDIR}/Makefile ${D}${PTEST_PATH} | ||
| 53 | } | ||
| 54 | |||
| 55 | RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \ | ||
| 56 | perl-module-filehandle perl-module-getopt-std \ | ||
| 57 | perl-module-posix perl-module-file-temp \ | ||
| 58 | perl-module-text-parsewords \ | ||
| 59 | " | ||
