Patchwork [meta-oe] libxml++: New recipe

login
register
mail settings
Submitter Gary Thomas
Date July 30, 2012, 3:04 p.m.
Message ID <1343660648-20358-2-git-send-email-gary@mlbassoc.com>
Download mbox | patch
Permalink /patch/33307/
State Superseded, archived
Headers show

Comments

Gary Thomas - July 30, 2012, 3:04 p.m.
Library for C++ bindings to libxml

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
---
 meta-oe/recipes-core/libxml/libxml++_2.35.3.bb |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-core/libxml/libxml++_2.35.3.bb
Martin Jansa - July 30, 2012, 3:19 p.m.
On Mon, Jul 30, 2012 at 09:04:08AM -0600, Gary Thomas wrote:
> Library for C++ bindings to libxml
> 
> Signed-off-by: Gary Thomas <gary@mlbassoc.com>
> ---
>  meta-oe/recipes-core/libxml/libxml++_2.35.3.bb |   16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-oe/recipes-core/libxml/libxml++_2.35.3.bb
> 
> diff --git a/meta-oe/recipes-core/libxml/libxml++_2.35.3.bb b/meta-oe/recipes-core/libxml/libxml++_2.35.3.bb
> new file mode 100644
> index 0000000..ca9388c
> --- /dev/null
> +++ b/meta-oe/recipes-core/libxml/libxml++_2.35.3.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "C++ wrapper for libxml library"
> +DESCRIPTION = "C++ wrapper for libxml library"
> +HOMEPAGE = "http://libxmlplusplus.sourceforge.net"
> +BUGTRACKER = "http://bugzilla.gnome.org/buglist.cgi?product=libxml%2B%2B"
> +SECTION = "libs"
> +LICENSE = "GPLv2"
> +
> +SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.35/libxml++-2.35.3.tar.xz"

Use something like:
SHRT_VER = "${@d.getVar('PV',True).split('.')[0]}.${@d.getVar('PV',True).split('.')[1]}"
SRC_URI = "${GNOME_MIRROR}/${BPN}/${SHRT_VER}/${BP}.tar.xz"

> +SRC_URI[md5sum] = "196a2dcdc84ab987fe3852b3f29cafd7"
> +SRC_URI[sha256sum] = "715a4214bbff90365cc8406a28e427febd90461006d608fbdcdcea7fc9891eaf"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 "
> +
> +DEPENDS = "libxml2 glibmm"
> +
> +inherit autotools pkgconfig
> +
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-core/libxml/libxml++_2.35.3.bb b/meta-oe/recipes-core/libxml/libxml++_2.35.3.bb
new file mode 100644
index 0000000..ca9388c
--- /dev/null
+++ b/meta-oe/recipes-core/libxml/libxml++_2.35.3.bb
@@ -0,0 +1,16 @@ 
+SUMMARY = "C++ wrapper for libxml library"
+DESCRIPTION = "C++ wrapper for libxml library"
+HOMEPAGE = "http://libxmlplusplus.sourceforge.net"
+BUGTRACKER = "http://bugzilla.gnome.org/buglist.cgi?product=libxml%2B%2B"
+SECTION = "libs"
+LICENSE = "GPLv2"
+
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.35/libxml++-2.35.3.tar.xz"
+SRC_URI[md5sum] = "196a2dcdc84ab987fe3852b3f29cafd7"
+SRC_URI[sha256sum] = "715a4214bbff90365cc8406a28e427febd90461006d608fbdcdcea7fc9891eaf"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 "
+
+DEPENDS = "libxml2 glibmm"
+
+inherit autotools pkgconfig
+