Patchwork [08/10] Add recipe for xerces-c 3.1.1

login
register
mail settings
Submitter Yauhen Kharuzhy
Date Jan. 25, 2012, 10:56 a.m.
Message ID <1327488981-28305-1-git-send-email-yauhen.kharuzhy@promwad.com>
Download mbox | patch
Permalink /patch/20133/
State Changes Requested, archived
Headers show

Comments

Yauhen Kharuzhy - Jan. 25, 2012, 10:56 a.m.
From: Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com>

Add recipe for Xerces-C++: a validating XML parser written in
a portable subset of C++.

Signed-off-by: Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com>
---
 meta/recipes-support/xerces-c/xerces-c_3.1.1.bb |   35 +++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-support/xerces-c/xerces-c_3.1.1.bb
Khem Raj - Jan. 26, 2012, 5:38 a.m.
On (25/01/12 13:56), Yauhen Kharuzhy wrote:
> From: Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com>
> 
> Add recipe for Xerces-C++: a validating XML parser written in
> a portable subset of C++.
> 
> Signed-off-by: Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com>
> ---
>  meta/recipes-support/xerces-c/xerces-c_3.1.1.bb |   35 +++++++++++++++++++++++
>  1 files changed, 35 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-support/xerces-c/xerces-c_3.1.1.bb
> 
> diff --git a/meta/recipes-support/xerces-c/xerces-c_3.1.1.bb b/meta/recipes-support/xerces-c/xerces-c_3.1.1.bb
> new file mode 100644
> index 0000000..e73a690
> --- /dev/null
> +++ b/meta/recipes-support/xerces-c/xerces-c_3.1.1.bb
> @@ -0,0 +1,35 @@
> +DESCRIPTION = "Xerces-c is a validating xml parser written in C++"
> +HOMEPAGE = "http://xerces.apache.org/xerces-c/"
> +SECTION =  "libs"
> +PRIORITY = "optional"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57
> +
> +PR = "r1"

not necessary but start with r0 in new recipes

> +
> +SRC_URI = "http://apache.lauf-forum.at/xerces/c/3/sources/${BP}.tar.gz"
> +
> +inherit autotools pkgconfig
> +
> +PACKAGES = "libxerces-c \
> +    libxerces-c-dbg \
> +    libxerces-c-dev \
> +    xerces-c-samples \
> +    xerces-c-samples-dbg \
> +" 
> +
> +FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so"
> +FILES_libxerces-c-dbg = "${libdir}/.debug/"
> +FILES_libxerces-c-dev = "${libdir}/lib*.la \
> +    ${libdir}/lib*.a \

.a should go into -staticdev package so remove above line

> +    ${libdir}/libxerces-c.so \
> +    ${libdir}/pkgconfig/xerces-c.pc \
> +    ${includedir}/xercesc \
> +"
> +FILES_xerces-c-samples = "${bindir}/*"
> +FILES_xerces-c-samples-dbg = "${bindir}/.debug/"
> +
> +SRC_URI[md5sum] = "6a8ec45d83c8cfb1584c5a5345cb51ae"
> +SRC_URI[sha256sum] = "a42785f71e0b91d5fd273831c87410ce60a73ccfdd207de1b805d26d44968736"
> +
> +BBCLASSEXTEND += "native"
> -- 
> 1.7.6.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta/recipes-support/xerces-c/xerces-c_3.1.1.bb b/meta/recipes-support/xerces-c/xerces-c_3.1.1.bb
new file mode 100644
index 0000000..e73a690
--- /dev/null
+++ b/meta/recipes-support/xerces-c/xerces-c_3.1.1.bb
@@ -0,0 +1,35 @@ 
+DESCRIPTION = "Xerces-c is a validating xml parser written in C++"
+HOMEPAGE = "http://xerces.apache.org/xerces-c/"
+SECTION =  "libs"
+PRIORITY = "optional"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57
+
+PR = "r1"
+
+SRC_URI = "http://apache.lauf-forum.at/xerces/c/3/sources/${BP}.tar.gz"
+
+inherit autotools pkgconfig
+
+PACKAGES = "libxerces-c \
+    libxerces-c-dbg \
+    libxerces-c-dev \
+    xerces-c-samples \
+    xerces-c-samples-dbg \
+" 
+
+FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so"
+FILES_libxerces-c-dbg = "${libdir}/.debug/"
+FILES_libxerces-c-dev = "${libdir}/lib*.la \
+    ${libdir}/lib*.a \
+    ${libdir}/libxerces-c.so \
+    ${libdir}/pkgconfig/xerces-c.pc \
+    ${includedir}/xercesc \
+"
+FILES_xerces-c-samples = "${bindir}/*"
+FILES_xerces-c-samples-dbg = "${bindir}/.debug/"
+
+SRC_URI[md5sum] = "6a8ec45d83c8cfb1584c5a5345cb51ae"
+SRC_URI[sha256sum] = "a42785f71e0b91d5fd273831c87410ce60a73ccfdd207de1b805d26d44968736"
+
+BBCLASSEXTEND += "native"