diff options
Diffstat (limited to 'meta/recipes-devtools/quilt/quilt-0.51.inc')
-rw-r--r-- | meta/recipes-devtools/quilt/quilt-0.51.inc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/quilt/quilt-0.51.inc b/meta/recipes-devtools/quilt/quilt-0.51.inc new file mode 100644 index 0000000000..c41e25ea8f --- /dev/null +++ b/meta/recipes-devtools/quilt/quilt-0.51.inc | |||
@@ -0,0 +1,34 @@ | |||
1 | DESCRIPTION = "Tool to work 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 | |||
10 | SRC_URI[md5sum] = "d56d23d5212297d5777502e84dc0ee80" | ||
11 | SRC_URI[sha256sum] = "05441399d36399b3f26cb12e29c98a8ce4d1287d036957fa22408807860af614" | ||
12 | |||
13 | inherit autotools | ||
14 | |||
15 | PACKAGES += "guards guards-doc" | ||
16 | FILES_${PN} = "${sysconfdir} ${datadir}/quilt \ | ||
17 | ${bindir}/quilt ${libdir}/quilt" | ||
18 | FILES_guards = "${bindir}/guards" | ||
19 | FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${P}" | ||
20 | FILES_guards-doc = "${mandir}/man1/guards.1" | ||
21 | |||
22 | RDEPENDS_${PN} = "bash" | ||
23 | |||
24 | # quilt ignores DESTDIR | ||
25 | do_install () { | ||
26 | oe_runmake 'BUILD_ROOT=${D}' install | ||
27 | if [ "${BUILD_ARCH}" == "${HOST_ARCH}" ]; then | ||
28 | # Dummy quiltrc file for patch.bbclass | ||
29 | install -d ${D}${bindir}/ | ||
30 | touch ${D}${bindir}/quiltrc | ||
31 | fi | ||
32 | # cleanup unpackaged files | ||
33 | rm -rf ${D}/${datadir}/emacs | ||
34 | } | ||