generic-uclibc.conf: fix virtual/libintl
[openembedded.git] / packages / glib-2.0 / glib-2.0_2.4.6.bb
blob5b47bc5d3ca818d188facac241e42e9f6c504b2a
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 PR = "r4"
14 LEAD_SONAME = "libglib-2.0.*"
15 FILES_glib-2.0-utils = "${bindir}/*"
17 # Add some files to glib-2.0 dev that normally don't get pulled in
19 FILES_${PN}-dev += "${libdir}/glib-2.0/include/glibconfig.h \
20 ${datadir}/glib-2.0/gettext/po/Makefile.in.in"
22 EXTRA_OECONF = "--disable-debug"
24 SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.4/glib-${PV}.tar.bz2 \
25 file://glibinclude.patch;patch=1;pnum=2 \
26 file://visibility.patch;patch=1 \
27 file://glibconfig-sysdefs.h \
28 file://configure-libtool.patch;patch=1"
30 S = "${WORKDIR}/glib-${PV}"
32 inherit autotools pkgconfig gettext
34 require glib-2.0.inc
36 acpaths = ""
37 do_configure_prepend () {
38 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
41 do_stage () {
42 oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR}
43 oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR}
44 oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR}
45 oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR}
46 autotools_stage_includes
47 install -d ${STAGING_INCDIR}/glib-2.0/glib
48 install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h
49 install -d ${STAGING_DATADIR}/aclocal
50 install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4
51 install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4