busybox: enable mkfs.vfat
[openembedded.git] / recipes / glib-1.2 / glib-1.2_1.2.10.bb
1 DESCRIPTION = "GLib 1.2 is a deprecated libray to \
2 provide support for old glib 1.2 based applications"
3 SECTION = "libs"
4 PRIORITY = "optional"
5 LICENSE = "LGPL"
6 DEPENDS = "glib-1.2-native"
7 PR = "r3"
8
9 LEAD_SONAME = "libglib-1.2.*"
10
11 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glib-1.2-${PV}"
12
13 EXTRA_OECONF = "--disable-debug"
14
15 SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v1.2/glib-${PV}.tar.gz \
16            file://glibconfig-sysdefs.h \
17            file://depcomp \
18            file://glib-reconf-fix;patch=1 \
19            file://posix-conf-changes;patch=1 \
20            file://glib-config-use-pkg-config;patch=1 \
21            file://gcc-3.4-pretty_function;patch=1"
22
23 S = "${WORKDIR}/glib-${PV}"
24
25 inherit autotools pkgconfig binconfig
26
27 acpaths = ""
28 do_configure_prepend () {
29         install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
30         install -m 0644 ${WORKDIR}/depcomp .
31         rm -f ltconfig acinclude.m4 libtool ltmain.sh
32 }
33
34 do_stage () {
35         oe_libinstall -so libglib ${STAGING_LIBDIR}
36         oe_libinstall -so -C gmodule libgmodule ${STAGING_LIBDIR}
37         oe_libinstall -so -C gthread libgthread ${STAGING_LIBDIR}
38         autotools_stage_includes
39         install -d ${STAGING_INCDIR}/glib-1.2
40         install -m 0644 glibconfig.h glib.h ${STAGING_INCDIR}/glib-1.2/
41         install -d ${STAGING_DATADIR}/aclocal
42         install -m 0644 ${S}/glib.m4 ${STAGING_DATADIR}/aclocal/glib-1.2.m4
43 }
44
45 FILES_${PN}-dev += "${libdir}/glib/include/glibconfig.h"