summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/glib-2.0/glib-2.0-native_2.20.2.bb34
-rw-r--r--meta/packages/glib-2.0/glib.inc9
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
17S = "${WORKDIR}/glib-${PV}" 17S = "${WORKDIR}/glib-${PV}"
18 18
19inherit autotools pkgconfig native gettext 19inherit autotools_stage pkgconfig native gettext
20 20
21acpaths = "" 21acpaths = ""
22do_configure_prepend () { 22do_configure_prepend () {
23 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . 23 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
24} 24}
25 25
26do_stage () { 26do_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
52do_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
18S = "${WORKDIR}/glib-${PV}" 18S = "${WORKDIR}/glib-${PV}"
19 19
20inherit autotools pkgconfig gettext 20inherit autotools_stage pkgconfig gettext
21 21
22require glib-2.0.inc 22require 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
29do_stage () { 29do_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
35FILES_${PN} = "${libdir}/lib*${SOLIBS}" 34FILES_${PN} = "${libdir}/lib*${SOLIBS}"