Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH]     add new library: libpugixml
@ 2016-09-04 21:08 Theo Debrouwere
  2016-09-05 20:47 ` Samuel Martin
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Theo Debrouwere @ 2016-09-04 21:08 UTC (permalink / raw)
  To: buildroot

From: Theo Debrouwere <t.debrouwere@televic.com>

    pugixml is a light-weight C++ XML processing library. It features:
    * DOM-like interface with rich traversal/modification capabilities
    * Extremely fast non-validating XML parser which constructs the DOM tree from an XML file/buffer
    * XPath 1.0 implementation for complex data-driven tree queries
    * Full Unicode support with Unicode interface variants and automatic encoding conversions

    Homepage: http://pugixml.org/
    Repository: https://github.com/zeux/pugixml

Signed-off-by: Theo Debrouwere <t.debrouwere@televic.com>
---
 package/Config.in                  |  1 +
 package/libpugixml/Config.in       | 15 +++++++++++++++
 package/libpugixml/libpugixml.hash |  2 ++
 package/libpugixml/libpugixml.mk   | 19 +++++++++++++++++++
 4 files changed, 37 insertions(+)
 create mode 100644 package/libpugixml/Config.in
 create mode 100644 package/libpugixml/libpugixml.hash
 create mode 100644 package/libpugixml/libpugixml.mk

diff --git a/package/Config.in b/package/Config.in
index 1e51a45..d0198ce 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1092,6 +1092,7 @@ menu "JSON/XML"
 	source "package/libxslt/Config.in"
 	source "package/libyaml/Config.in"
 	source "package/mxml/Config.in"
+	source "package/libpugixml/Config.in"
 	source "package/rapidjson/Config.in"
 	source "package/rapidxml/Config.in"
 	source "package/raptor/Config.in"
diff --git a/package/libpugixml/Config.in b/package/libpugixml/Config.in
new file mode 100644
index 0000000..17c6eec
--- /dev/null
+++ b/package/libpugixml/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_LIBPUGIXML
+	bool "libpugixml"
+	help
+	  Light-weight, simple and fast XML parser for C++ with XPath support
+
+	  Features:
+	  * DOM-like interface with rich traversal/modification capabilities
+	  * Extremely fast non-validating XML parser which constructs the DOM tree
+	    from an XML file/buffer
+	  * XPath 1.0 implementation for complex data-driven tree queries
+	  * Full Unicode support with Unicode interface variants and automatic
+	    encoding conversions
+
+	  http://pugixml.org/
+	  https://github.com/zeux/pugixml
diff --git a/package/libpugixml/libpugixml.hash b/package/libpugixml/libpugixml.hash
new file mode 100644
index 0000000..9007f7c
--- /dev/null
+++ b/package/libpugixml/libpugixml.hash
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  fbe10d46f61d769f7d92a296102e4e2bd3ee16130f11c5b10a1aae590ea1f5ca  pugixml-1.7.tar.gz
diff --git a/package/libpugixml/libpugixml.mk b/package/libpugixml/libpugixml.mk
new file mode 100644
index 0000000..3c9987e
--- /dev/null
+++ b/package/libpugixml/libpugixml.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# libpugixml
+#
+################################################################################
+
+LIBPUGIXML_VERSION = 1.7
+LIBPUGIXML_SOURCE = pugixml-$(LIBPUGIXML_VERSION).tar.gz
+LIBPUGIXML_SITE = http://github.com/zeux/pugixml/releases/download/v$(LIBPUGIXML_VERSION)
+LIBPUGIXML_LICENSE = MIT
+LIBPUGIXML_LICENSE_FILES = docs/manual.html
+LIBPUGIXML_INSTALL_STAGING = YES
+
+LIBPUGIXML_SUBDIR = scripts
+
+# build libpugixml as a shared library
+LIBPUGIXML_CONF_OPTS = -DBUILD_SHARED_LIBS=ON
+
+$(eval $(cmake-package))
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-09-12  9:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-04 21:08 [Buildroot] [PATCH] add new library: libpugixml Theo Debrouwere
2016-09-05 20:47 ` Samuel Martin
2016-09-05 21:30 ` Thomas Petazzoni
2016-09-06 12:07   ` Theo Debrouwere
2016-09-09 12:14     ` Thomas Petazzoni
2016-09-05 22:15 ` Arnout Vandecappelle
2016-09-07 15:21 ` [Buildroot] pugixml: new package Theo Debrouwere
2016-09-07 15:37 ` Theo Debrouwere
2016-09-07 15:37   ` [Buildroot] [PATCH] " Theo Debrouwere
2016-09-07 19:44     ` Peter Korsgaard
2016-09-11 21:08     ` Thomas Petazzoni
2016-09-11 21:56       ` Theo Debrouwere
2016-09-11 22:15         ` Arnout Vandecappelle
2016-09-12  6:47           ` Vlad Zakharov
2016-09-12  7:19         ` Thomas Petazzoni
2016-09-12  8:14           ` [Buildroot] [PATCH] package/pugixml: Fix CMakelists.txt cxx_long_long_type bug Theo Debrouwere
2016-09-12  9:34             ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox