diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-10 11:06:19 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-10 11:06:19 +0100 |
commit | d10060c3305a6c1307878f723cd7b28045ed2a2b (patch) | |
tree | 5c494b3140b2d45ce733bf81bac6680e7684d839 /meta | |
parent | a1830ffaa24befa955c296ad3ab005e04ac37dd9 (diff) | |
download | poky-d10060c3305a6c1307878f723cd7b28045ed2a2b.tar.gz |
gtk-doc: Sync with OE but also convert to use BBCLASSEXTEND with overrides magic
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/gtk-doc/gtk-doc-native.bb | 11 | ||||
-rw-r--r-- | meta/packages/gtk-doc/gtk-doc.bb | 24 | ||||
-rw-r--r-- | meta/packages/gtk-doc/gtk-doc.inc | 2 |
3 files changed, 24 insertions, 13 deletions
diff --git a/meta/packages/gtk-doc/gtk-doc-native.bb b/meta/packages/gtk-doc/gtk-doc-native.bb deleted file mode 100644 index cf3ca9846f..0000000000 --- a/meta/packages/gtk-doc/gtk-doc-native.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | SECTION = "x11/base" | ||
2 | inherit native | ||
3 | require gtk-doc.inc | ||
4 | PR="r1" | ||
5 | |||
6 | SRC_URI = "file://gtk-doc.m4" | ||
7 | |||
8 | do_stage() { | ||
9 | install -d ${STAGING_DATADIR}/aclocal | ||
10 | install -m 0644 ${WORKDIR}/gtk-doc.m4 ${STAGING_DATADIR}/aclocal/ | ||
11 | } | ||
diff --git a/meta/packages/gtk-doc/gtk-doc.bb b/meta/packages/gtk-doc/gtk-doc.bb new file mode 100644 index 0000000000..8d6a1c814c --- /dev/null +++ b/meta/packages/gtk-doc/gtk-doc.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SECTION = "x11/base" | ||
2 | SRC_URI = "file://gtk-doc.m4" | ||
3 | LICENSE = "LGPL" | ||
4 | PR = "r3" | ||
5 | |||
6 | ALLOW_EMPTY_${PN} = "1" | ||
7 | |||
8 | BBCLASSEXTEND = "native" | ||
9 | |||
10 | do_install () { | ||
11 | install -d ${D}/${datadir}/aclocal | ||
12 | install -m 0644 ${WORKDIR}/gtk-doc.m4 ${D}/${datadir}/aclocal | ||
13 | } | ||
14 | |||
15 | do_stage () { | ||
16 | install -d ${STAGING_DATADIR}/aclocal | ||
17 | install -m 0644 ${WORKDIR}/gtk-doc.m4 ${STAGING_DATADIR}/aclocal/ | ||
18 | } | ||
19 | |||
20 | # Standard native.bbclass do_stage() won't work | ||
21 | do_stage_virtclass-native () { | ||
22 | install -d ${STAGING_DATADIR}/aclocal | ||
23 | install -m 0644 ${WORKDIR}/gtk-doc.m4 ${STAGING_DATADIR}/aclocal/ | ||
24 | } | ||
diff --git a/meta/packages/gtk-doc/gtk-doc.inc b/meta/packages/gtk-doc/gtk-doc.inc deleted file mode 100644 index 89d831e42c..0000000000 --- a/meta/packages/gtk-doc/gtk-doc.inc +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | SECTION = "x11/base" | ||
2 | LICENSE = "LGPL" | ||