diff options
Diffstat (limited to 'meta/recipes-devtools/quilt/quilt.inc')
-rw-r--r-- | meta/recipes-devtools/quilt/quilt.inc | 27 |
1 files changed, 27 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..e5e0a4feca --- /dev/null +++ b/meta/recipes-devtools/quilt/quilt.inc | |||
@@ -0,0 +1,27 @@ | |||
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_CHKSUM_FILES = "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 | inherit autotools | ||
11 | |||
12 | PACKAGES += "guards guards-doc" | ||
13 | FILES_${PN} = "${sysconfdir} ${datadir}/quilt \ | ||
14 | ${bindir}/quilt ${libdir}/quilt" | ||
15 | FILES_guards = "${bindir}/guards" | ||
16 | FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${P}" | ||
17 | FILES_guards-doc = "${mandir}/man1/guards.1" | ||
18 | |||
19 | # quilt ignores DESTDIR | ||
20 | do_install () { | ||
21 | oe_runmake 'BUILD_ROOT=${D}' install | ||
22 | if [ "${BUILD_ARCH}" == "${HOST_ARCH}" ]; then | ||
23 | # Dummy quiltrc file for patch.bbclass | ||
24 | install -d ${D}${bindir}/ | ||
25 | touch ${D}${bindir}/quiltrc | ||
26 | fi | ||
27 | } | ||