diff options
| author | Richard Purdie <richard@openedhand.com> | 2007-02-04 17:56:48 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2007-02-04 17:56:48 +0000 |
| commit | 9a667a82979eb85b0b5204e3d969b9859cd54be3 (patch) | |
| tree | 3a1b0a5f1754c59191e250106941072fe8fc9e6a /meta/packages/glib-2.0/glib.inc | |
| parent | a0394cd0b1613dcad2f3a705048d352d044f7865 (diff) | |
| download | poky-9a667a82979eb85b0b5204e3d969b9859cd54be3.tar.gz | |
glib: Add 2.12.6 from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1254 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glib-2.0/glib.inc')
| -rw-r--r-- | meta/packages/glib-2.0/glib.inc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/packages/glib-2.0/glib.inc b/meta/packages/glib-2.0/glib.inc new file mode 100644 index 0000000000..6a33291d52 --- /dev/null +++ b/meta/packages/glib-2.0/glib.inc | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | DESCRIPTION = "GLib is a general-purpose utility library, \ | ||
| 2 | which provides many useful data types, macros, \ | ||
| 3 | type conversions, string utilities, file utilities, a main \ | ||
| 4 | loop abstraction, and so on. It works on many \ | ||
| 5 | UNIX-like platforms, Windows, OS/2 and BeOS." | ||
| 6 | LICENSE = "LGPL" | ||
| 7 | SECTION = "libs" | ||
| 8 | PRIORITY = "optional" | ||
| 9 | DEPENDS += "glib-2.0-native gtk-doc" | ||
| 10 | DEPENDS += "virtual/libiconv virtual/libintl" | ||
| 11 | PACKAGES =+ "glib-2.0-utils " | ||
| 12 | |||
| 13 | LEAD_SONAME = "libglib-2.0.*" | ||
| 14 | FILES_glib-2.0-utils = "${bindir}/*" | ||
| 15 | |||
| 16 | EXTRA_OECONF = "--disable-debug" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/glib-${PV}" | ||
| 19 | |||
| 20 | inherit autotools pkgconfig gettext | ||
| 21 | |||
| 22 | require glib-2.0.inc | ||
| 23 | |||
| 24 | acpaths = "" | ||
| 25 | do_configure_prepend () { | ||
| 26 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . | ||
| 27 | } | ||
| 28 | |||
| 29 | do_stage () { | ||
| 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 | autotools_stage_includes | ||
| 35 | install -d ${STAGING_INCDIR}/glib-2.0/glib | ||
| 36 | install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h | ||
| 37 | install -d ${STAGING_DATADIR}/aclocal | ||
| 38 | install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4 | ||
| 39 | install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4 | ||
| 40 | } | ||
