summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/pugixml/Config.in16
-rw-r--r--package/pugixml/pugixml.hash2
-rw-r--r--package/pugixml/pugixml.mk15
4 files changed, 34 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index add6052c5e..2b5a4d193a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1093,6 +1093,7 @@ menu "JSON/XML"
source "package/libxslt/Config.in"
source "package/libyaml/Config.in"
source "package/mxml/Config.in"
+ source "package/pugixml/Config.in"
source "package/rapidjson/Config.in"
source "package/rapidxml/Config.in"
source "package/raptor/Config.in"
diff --git a/package/pugixml/Config.in b/package/pugixml/Config.in
new file mode 100644
index 0000000000..5310b10cb8
--- /dev/null
+++ b/package/pugixml/Config.in
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_PUGIXML
+ bool "pugixml"
+ depends on BR2_INSTALL_LIBSTDCPP
+ 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/pugixml/pugixml.hash b/package/pugixml/pugixml.hash
new file mode 100644
index 0000000000..9007f7cae6
--- /dev/null
+++ b/package/pugixml/pugixml.hash
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256 fbe10d46f61d769f7d92a296102e4e2bd3ee16130f11c5b10a1aae590ea1f5ca pugixml-1.7.tar.gz
diff --git a/package/pugixml/pugixml.mk b/package/pugixml/pugixml.mk
new file mode 100644
index 0000000000..2e4f0ce561
--- /dev/null
+++ b/package/pugixml/pugixml.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# pugixml
+#
+################################################################################
+
+PUGIXML_VERSION = 1.7
+PUGIXML_SITE = http://github.com/zeux/pugixml/releases/download/v$(PUGIXML_VERSION)
+PUGIXML_LICENSE = MIT
+PUGIXML_LICENSE_FILES = readme.txt
+PUGIXML_INSTALL_STAGING = YES
+
+PUGIXML_SUBDIR = scripts
+
+$(eval $(cmake-package))
OpenPOWER on IntegriCloud