diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 22:33:56 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 22:33:56 +0000 |
commit | 2b62b6e4f74e995277a8106b50ed0b980ce0f6ad (patch) | |
tree | 89ded3b043e87d474fd483098d56e071f5207663 /meta/packages/quilt/quilt.inc | |
parent | 7d353d394cfc83996036f1689c28fd6d01179fc6 (diff) | |
download | poky-2b62b6e4f74e995277a8106b50ed0b980ce0f6ad.tar.gz |
quilt: Convert to use install step for staging and cleanup the include files a bit
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/quilt/quilt.inc')
-rw-r--r-- | meta/packages/quilt/quilt.inc | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/meta/packages/quilt/quilt.inc b/meta/packages/quilt/quilt.inc index f0f5cb7d26..944990cd95 100644 --- a/meta/packages/quilt/quilt.inc +++ b/meta/packages/quilt/quilt.inc | |||
@@ -5,5 +5,21 @@ LICENSE = "GPL" | |||
5 | 5 | ||
6 | SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz " | 6 | SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz " |
7 | 7 | ||
8 | # quilt totally ignores DESTDIR | 8 | inherit autotools |
9 | PSTAGE_BROKEN_DESTDIR = "1" | 9 | |
10 | PACKAGES += "guards guards-doc" | ||
11 | FILES_${PN} = "${sysconfdir} ${datadir}/quilt \ | ||
12 | ${bindir}/quilt ${libdir}/quilt" | ||
13 | FILES_guards = "${bindir}/guards" | ||
14 | FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${P}" | ||
15 | FILES_guards-doc = "${mandir}/man1/guards.1" | ||
16 | |||
17 | # quilt ignores DESTDIR | ||
18 | do_install () { | ||
19 | oe_runmake 'BUILD_ROOT=${D}' install | ||
20 | if [ "${BUILD_ARCH}" == "${HOST_ARCH}" ]; then | ||
21 | # Dummy quiltrc file for patch.bbclass | ||
22 | install -d ${D}${bindir}/ | ||
23 | touch ${D}${bindir}/quiltrc | ||
24 | fi | ||
25 | } | ||