diff options
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0-native_2.20.2.bb | 34 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib.inc | 9 |
2 files changed, 8 insertions, 35 deletions
diff --git a/meta/packages/glib-2.0/glib-2.0-native_2.20.2.bb b/meta/packages/glib-2.0/glib-2.0-native_2.20.2.bb index 68626d90f2..83d80b40f4 100644 --- a/meta/packages/glib-2.0/glib-2.0-native_2.20.2.bb +++ b/meta/packages/glib-2.0/glib-2.0-native_2.20.2.bb | |||
@@ -16,40 +16,14 @@ SRC_URI = "http://download.gnome.org/sources/glib/2.20/glib-${PV}.tar.bz2 \ | |||
16 | 16 | ||
17 | S = "${WORKDIR}/glib-${PV}" | 17 | S = "${WORKDIR}/glib-${PV}" |
18 | 18 | ||
19 | inherit autotools pkgconfig native gettext | 19 | inherit autotools_stage pkgconfig native gettext |
20 | 20 | ||
21 | acpaths = "" | 21 | acpaths = "" |
22 | do_configure_prepend () { | 22 | do_configure_prepend () { |
23 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . | 23 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . |
24 | } | 24 | } |
25 | 25 | ||
26 | do_stage () { | 26 | do_install_append () { |
27 | install -m 0755 gobject/glib-mkenums ${STAGING_BINDIR}/ | 27 | install -d ${D}${includedir}/glib-2.0/glib |
28 | install -m 0755 gobject/.libs/glib-genmarshal ${STAGING_BINDIR}/ | 28 | install -m 0755 ${S}/glibconfig.h ${D}${includedir}/glib-2.0/glibconfig.h |
29 | install -m 0755 glib-gettextize ${STAGING_BINDIR}/ | ||
30 | oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR} | ||
31 | oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR} | ||
32 | oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR} | ||
33 | oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR} | ||
34 | oe_libinstall -so -C gio libgio-2.0 ${STAGING_LIBDIR} | ||
35 | autotools_stage_includes | ||
36 | install -d ${STAGING_INCDIR}/glib-2.0/glib | ||
37 | install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h | ||
38 | install -d ${STAGING_DATADIR}/aclocal | ||
39 | install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4 | ||
40 | install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4 | ||
41 | install -d ${STAGING_DATADIR}/glib-2.0/gettext/po | ||
42 | install -m 0755 mkinstalldirs ${STAGING_DATADIR}/glib-2.0/gettext/ | ||
43 | install -m 0644 po/Makefile.in.in ${STAGING_DATADIR}/glib-2.0/gettext/po/ | ||
44 | install -d ${STAGING_LIBDIR}/pkgconfig/ | ||
45 | for i in glib-2.0 gmodule-2.0 gmodule-export-2.0 gmodule-no-export-2.0 gthread-2.0 gobject-2.0 gio-2.0 gio-unix-2.0; do | ||
46 | install -m 0644 $i.pc ${STAGING_LIBDIR}/pkgconfig/ | ||
47 | done | ||
48 | |||
49 | |||
50 | } | ||
51 | |||
52 | do_install () { | ||
53 | : | ||
54 | } | 29 | } |
55 | |||
diff --git a/meta/packages/glib-2.0/glib.inc b/meta/packages/glib-2.0/glib.inc index 78f36c034f..389233caeb 100644 --- a/meta/packages/glib-2.0/glib.inc +++ b/meta/packages/glib-2.0/glib.inc | |||
@@ -17,7 +17,7 @@ EXTRA_OECONF = "--enable-included-printf=no" | |||
17 | 17 | ||
18 | S = "${WORKDIR}/glib-${PV}" | 18 | S = "${WORKDIR}/glib-${PV}" |
19 | 19 | ||
20 | inherit autotools pkgconfig gettext | 20 | inherit autotools_stage pkgconfig gettext |
21 | 21 | ||
22 | require glib-2.0.inc | 22 | require glib-2.0.inc |
23 | 23 | ||
@@ -26,10 +26,9 @@ do_configure_prepend () { | |||
26 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . | 26 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . |
27 | } | 27 | } |
28 | 28 | ||
29 | do_stage () { | 29 | do_install_append () { |
30 | autotools_stage_all | 30 | install -d ${D}${includedir}/glib-2.0/glib |
31 | install -d ${STAGING_INCDIR}/glib-2.0/glib | 31 | install -m 0755 ${S}/glibconfig.h ${D}${includedir}/glib-2.0/glibconfig.h |
32 | install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h | ||
33 | } | 32 | } |
34 | 33 | ||
35 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" | 34 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" |