diff options
Diffstat (limited to 'recipes/glibmm/glibmm.inc')
-rw-r--r-- | recipes/glibmm/glibmm.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/glibmm/glibmm.inc b/recipes/glibmm/glibmm.inc new file mode 100644 index 0000000000..c33d3151ae --- /dev/null +++ b/recipes/glibmm/glibmm.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "C++ bindings for the glib library." +HOMEPAGE = "http://www.gtkmm.org/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "glib-2.0 libsigc++-2.0" +PR = "r0" +SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" + +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.bz2" + +inherit autotools pkgconfig flow-lossage + +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${libdir}/glibmm-2.4/include/" + +LIBV = "2.4.0" + +do_stage () { + autotools_stage_all + + install -m 0644 glib/glibmmconfig.h ${STAGING_INCDIR}/glibmm-2.4 + install -m 0644 scripts/glibmm_check_perl.m4 ${STAGING_DATADIR}/aclocal/ +} |