summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/quilt/quilt.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/quilt/quilt.inc')
-rw-r--r--meta/recipes-devtools/quilt/quilt.inc27
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 @@
1DESCRIPTION = "Tool to work with series of patches."
2HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/"
3SECTION = "devel"
4LICENSE = "GPLv2"
5LIC_CHKSUM_FILES = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6
7SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
8 file://install.patch"
9
10inherit autotools
11
12PACKAGES += "guards guards-doc"
13FILES_${PN} = "${sysconfdir} ${datadir}/quilt \
14 ${bindir}/quilt ${libdir}/quilt"
15FILES_guards = "${bindir}/guards"
16FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${P}"
17FILES_guards-doc = "${mandir}/man1/guards.1"
18
19# quilt ignores DESTDIR
20do_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}