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 | |
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')
-rw-r--r-- | meta/packages/quilt/quilt-native.inc | 10 | ||||
-rw-r--r-- | meta/packages/quilt/quilt-native_0.47.bb | 5 | ||||
-rw-r--r-- | meta/packages/quilt/quilt-package.inc | 10 | ||||
-rw-r--r-- | meta/packages/quilt/quilt.inc | 20 | ||||
-rw-r--r-- | meta/packages/quilt/quilt_0.47.bb | 10 |
5 files changed, 25 insertions, 30 deletions
diff --git a/meta/packages/quilt/quilt-native.inc b/meta/packages/quilt/quilt-native.inc index fb34305d1b..0eeaa87e1c 100644 --- a/meta/packages/quilt/quilt-native.inc +++ b/meta/packages/quilt/quilt-native.inc | |||
@@ -1,11 +1,9 @@ | |||
1 | require quilt_${PV}.inc | ||
2 | |||
3 | SRC_URI_append_build-darwin = "? file://non-gnu.patch;patch=1 " | 1 | SRC_URI_append_build-darwin = "? file://non-gnu.patch;patch=1 " |
4 | RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native util-linux-native" | 2 | RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native util-linux-native" |
5 | 3 | ||
6 | INHIBIT_AUTOTOOLS_DEPS = "1" | 4 | INHIBIT_AUTOTOOLS_DEPS = "1" |
7 | 5 | ||
8 | inherit autotools native | 6 | inherit native |
9 | 7 | ||
10 | PATCHTOOL = "patch" | 8 | PATCHTOOL = "patch" |
11 | EXTRA_OECONF = "--disable-nls" | 9 | EXTRA_OECONF = "--disable-nls" |
@@ -13,9 +11,3 @@ EXTRA_OECONF = "--disable-nls" | |||
13 | do_configure () { | 11 | do_configure () { |
14 | oe_runconf | 12 | oe_runconf |
15 | } | 13 | } |
16 | |||
17 | # Dummy quiltrc file for patch.bbclass | ||
18 | do_install_append () { | ||
19 | install -d ${STAGING_BINDIR_NATIVE}/ | ||
20 | touch ${STAGING_BINDIR_NATIVE}/quiltrc | ||
21 | } | ||
diff --git a/meta/packages/quilt/quilt-native_0.47.bb b/meta/packages/quilt/quilt-native_0.47.bb index b61d5dac52..b6fefce9cc 100644 --- a/meta/packages/quilt/quilt-native_0.47.bb +++ b/meta/packages/quilt/quilt-native_0.47.bb | |||
@@ -1,3 +1,4 @@ | |||
1 | PV = "0.47" | 1 | require quilt_${PV}.inc |
2 | PR = "r2" | ||
3 | require quilt-native.inc | 2 | require quilt-native.inc |
3 | |||
4 | PR = "r2" \ No newline at end of file | ||
diff --git a/meta/packages/quilt/quilt-package.inc b/meta/packages/quilt/quilt-package.inc deleted file mode 100644 index bcdbcf026a..0000000000 --- a/meta/packages/quilt/quilt-package.inc +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | PACKAGES += "guards guards-doc" | ||
2 | FILES_${PN} = "${sysconfdir} ${datadir}/quilt \ | ||
3 | ${bindir}/quilt ${libdir}/quilt" | ||
4 | FILES_guards = "${bindir}/guards" | ||
5 | FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${P}" | ||
6 | FILES_guards-doc = "${mandir}/man1/guards.1" | ||
7 | |||
8 | do_install () { | ||
9 | oe_runmake 'BUILD_ROOT=${D}' install | ||
10 | } | ||
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 | } | ||
diff --git a/meta/packages/quilt/quilt_0.47.bb b/meta/packages/quilt/quilt_0.47.bb index 4de052635c..67524316d8 100644 --- a/meta/packages/quilt/quilt_0.47.bb +++ b/meta/packages/quilt/quilt_0.47.bb | |||
@@ -1,11 +1,7 @@ | |||
1 | RDEPENDS_${PN} += "patch diffstat bzip2 util-linux" | ||
2 | |||
3 | require quilt_${PV}.inc | 1 | require quilt_${PV}.inc |
4 | 2 | ||
5 | PR = "r1" | 3 | RDEPENDS_${PN} += "patch diffstat bzip2 util-linux" |
6 | |||
7 | SRC_URI += "file://aclocal.patch;patch=1" | 4 | SRC_URI += "file://aclocal.patch;patch=1" |
5 | PR = "r1" | ||
8 | 6 | ||
9 | inherit autotools gettext | 7 | inherit gettext |
10 | |||
11 | require quilt-package.inc | ||