diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 14:36:22 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 15:32:53 +0200 |
commit | f4cf9fe05bb3f32fabea4e54dd92d368967a80da (patch) | |
tree | 487180fa9866985ea7b28e625651765d86f515c3 /meta/recipes-devtools/quilt/quilt-0.61.inc | |
download | poky-f4cf9fe05bb3f32fabea4e54dd92d368967a80da.tar.gz |
initial commit for Enea Linux 4.0
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-devtools/quilt/quilt-0.61.inc')
-rw-r--r-- | meta/recipes-devtools/quilt/quilt-0.61.inc | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-devtools/quilt/quilt-0.61.inc b/meta/recipes-devtools/quilt/quilt-0.61.inc new file mode 100644 index 0000000000..4d915bf3e4 --- /dev/null +++ b/meta/recipes-devtools/quilt/quilt-0.61.inc | |||
@@ -0,0 +1,58 @@ | |||
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 = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \ | ||
8 | file://install.patch \ | ||
9 | file://run-ptest \ | ||
10 | file://Makefile \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[md5sum] = "24417eba5961592b64103bdda001ebf4" | ||
14 | SRC_URI[sha256sum] = "1eec0a270ac4d41eea0fd5823603c9d2a35ab6b8ab73a90dd92ce1291b2a9fc3" | ||
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 | " | ||