diff options
Diffstat (limited to 'meta/packages/glib-2.0/glib.inc')
-rw-r--r-- | meta/packages/glib-2.0/glib.inc | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/meta/packages/glib-2.0/glib.inc b/meta/packages/glib-2.0/glib.inc index f4167e8bf8..6e7f6a3347 100644 --- a/meta/packages/glib-2.0/glib.inc +++ b/meta/packages/glib-2.0/glib.inc | |||
@@ -1,35 +1,32 @@ | |||
1 | DESCRIPTION = "GLib is a general-purpose utility library, \ | 1 | DESCRIPTION = "GLib is a general-purpose utility library, which provides many useful data types, macros, type conversions, string utilities, file utilities, a main loop abstraction, and so on. It works on many UNIX-like platforms, Windows, OS/2 and BeOS" |
2 | which provides many useful data types, macros, \ | 2 | # pcre is under BSD; |
3 | type conversions, string utilities, file utilities, a main \ | 3 | # docs/reference/COPYING is with a 'public domai'-like license! |
4 | loop abstraction, and so on. It works on many \ | 4 | LICENSE = "LGPLv2+ & BSD & public domain" |
5 | UNIX-like platforms, Windows, OS/2 and BeOS." | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ |
6 | LICENSE = "LGPL" | 6 | file://glib/glib.h;startline=4;endline=17;md5=a4332fe58b076f29d07c9c066d2967b6 \ |
7 | file://gmodule/COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ | ||
8 | file://gmodule/gmodule.h;startline=4;endline=17;md5=76ab161b37202cd004073c42fac276ed \ | ||
9 | file://glib/pcre/COPYING;md5=266ebc3ff74ee9ce6fad65577667c0f4 \ | ||
10 | file://glib/pcre/pcre.h;startline=11;endline=35;md5=000109ccf7c4c470b74046e2cc59f7e3 \ | ||
11 | file://docs/reference/COPYING;md5=f51a5100c17af6bae00735cd791e1fcc" | ||
12 | BUGTRACKER = "http://bugzilla.gnome.org" | ||
7 | SECTION = "libs" | 13 | SECTION = "libs" |
8 | PRIORITY = "optional" | 14 | |
9 | DEPENDS = "glib-2.0-native gtk-doc-native virtual/libiconv virtual/libintl" | 15 | require glib-2.0.inc |
16 | |||
17 | DEPENDS = "glib-2.0-native gtk-doc-native virtual/libiconv virtual/libintl zip" | ||
10 | DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native" | 18 | DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native" |
11 | PACKAGES =+ "glib-2.0-utils " | 19 | PACKAGES =+ "glib-2.0-utils " |
12 | 20 | ||
13 | LEAD_SONAME = "libglib-2.0.*" | 21 | LEAD_SONAME = "libglib-2.0.*" |
14 | FILES_glib-2.0-utils = "${bindir}/*" | 22 | FILES_glib-2.0-utils = "${bindir}/*" |
15 | 23 | ||
16 | EXTRA_OECONF = "--enable-included-printf=no" | ||
17 | |||
18 | S = "${WORKDIR}/glib-${PV}" | ||
19 | |||
20 | inherit autotools pkgconfig gettext | 24 | inherit autotools pkgconfig gettext |
21 | 25 | ||
22 | require glib-2.0.inc | 26 | S = "${WORKDIR}/glib-${PV}" |
23 | |||
24 | acpaths = "" | ||
25 | do_configure_prepend () { | ||
26 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . | ||
27 | } | ||
28 | 27 | ||
29 | do_install_append () { | 28 | EXTRA_OECONF = "--disable-debug --enable-included-printf=no" |
30 | install -d ${D}${includedir}/glib-2.0/glib | 29 | EXTRA_OECONF_virtclass-native = "" |
31 | install -m 0755 ${S}/glibconfig.h ${D}${includedir}/glib-2.0/glibconfig.h | ||
32 | } | ||
33 | 30 | ||
34 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" | 31 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" |
35 | FILES_${PN}-dev += "${libdir}/glib-2.0/include" | 32 | FILES_${PN}-dev += "${libdir}/glib-2.0/include" |