* [Buildroot] [PATCH v3 1/1] rapidxml: new package
@ 2015-08-05 4:46 Jonathan Ben-Avraham
2015-08-17 14:16 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Ben-Avraham @ 2015-08-05 4:46 UTC (permalink / raw)
To: buildroot
From: Jonathan Ben Avraham <yba@tkos.co.il>
Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
---
package/Config.in | 1 +
package/rapidxml/Config.in | 11 +++++++++++
package/rapidxml/rapidxml.hash | 1 +
package/rapidxml/rapidxml.mk | 26 ++++++++++++++++++++++++++
4 files changed, 39 insertions(+)
create mode 100644 package/rapidxml/Config.in
create mode 100644 package/rapidxml/rapidxml.hash
create mode 100644 package/rapidxml/rapidxml.mk
diff --git a/package/Config.in b/package/Config.in
index 1e39c74..589882f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -914,6 +914,7 @@ menu "JSON/XML"
source "package/libyaml/Config.in"
source "package/mxml/Config.in"
source "package/rapidjson/Config.in"
+ source "package/rapidxml/Config.in"
source "package/tinyxml/Config.in"
source "package/tinyxml2/Config.in"
source "package/xerces/Config.in"
diff --git a/package/rapidxml/Config.in b/package/rapidxml/Config.in
new file mode 100644
index 0000000..2ecb69f
--- /dev/null
+++ b/package/rapidxml/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_RAPIDXML
+ bool "rapidxml"
+ help
+ RapidXml is an attempt to create the fastest XML parser
+ possible, while retaining useability, portability and
+ reasonable W3C compatibility. It is an in-situ parser
+ with parsing speed approaching speed of strlen function
+ executed on the same data.
+
+ http://sourceforge.net/projects/rapidxml/
+ https://en.wikipedia.org/wiki/RapidXml
diff --git a/package/rapidxml/rapidxml.hash b/package/rapidxml/rapidxml.hash
new file mode 100644
index 0000000..8c7366c
--- /dev/null
+++ b/package/rapidxml/rapidxml.hash
@@ -0,0 +1 @@
+sha256 c3f0b886374981bb20fabcf323d755db4be6dba42064599481da64a85f5b3571 rapidxml-1.13.zip
diff --git a/package/rapidxml/rapidxml.mk b/package/rapidxml/rapidxml.mk
new file mode 100644
index 0000000..c9cda2c
--- /dev/null
+++ b/package/rapidxml/rapidxml.mk
@@ -0,0 +1,26 @@
+################################################################################
+#
+# rapidxml
+#
+################################################################################
+
+RAPIDXML_VERSION = 1.13
+RAPIDXML_SOURCE = rapidxml-$(RAPIDXML_VERSION).zip
+
+RAPIDXML_SITE = http://garr.dl.sourceforge.net/project/rapidxml/rapidxml/rapidxml%20$(RAPIDXML_VERSION)/
+RAPIDXML_LICENSE = MIT
+RAPIDXML_LICENSE_FILES = license.txt
+
+# C++ headers only
+RAPIDXML_INSTALL_TARGET = NO
+RAPIDXML_INSTALL_STAGING = YES
+
+define RAPIDXML_EXTRACT_CMDS
+ $(UNZIP) -d $(@D) $(DL_DIR)/$(RAPIDXML_SOURCE)
+endef
+
+define RAPIDXML_INSTALL_STAGING_CMDS
+ cp -dpfr $(@D)/rapidxml-$(RAPIDXML_VERSION)/*hpp $(STAGING_DIR)/usr/include
+endef
+
+$(eval $(generic-package))
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v3 1/1] rapidxml: new package
2015-08-05 4:46 [Buildroot] [PATCH v3 1/1] rapidxml: new package Jonathan Ben-Avraham
@ 2015-08-17 14:16 ` Thomas Petazzoni
2015-08-17 14:24 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2015-08-17 14:16 UTC (permalink / raw)
To: buildroot
Jonathan,
On Wed, 5 Aug 2015 07:46:23 +0300, Jonathan Ben-Avraham wrote:
> From: Jonathan Ben Avraham <yba@tkos.co.il>
>
>
> Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
> ---
> package/Config.in | 1 +
> package/rapidxml/Config.in | 11 +++++++++++
> package/rapidxml/rapidxml.hash | 1 +
> package/rapidxml/rapidxml.mk | 26 ++++++++++++++++++++++++++
> 4 files changed, 39 insertions(+)
> create mode 100644 package/rapidxml/Config.in
> create mode 100644 package/rapidxml/rapidxml.hash
> create mode 100644 package/rapidxml/rapidxml.mk
Applied, after doing a number of changes:
[Thomas:
- Rewrap Config.in help text
- Indicate that the SHA256 hash has been locally calculated, and add
the MD5 and SHA1 hashes from SourceForge.
- Use downloads.sourceforge.net as the download site instead of
garr.dl.sourceforge.net, in order to use the SourceForge mirrors
properly, and be consistent with all other Buildroot packages
downloading stuff from SourceForge.
- Change the license from "MIT" to "Boost Software License 1.0 or
MIT" as indicated by the license.txt file.
- Change the <pkg>_EXTRACT_CMDS to remove the sub-directory created
by the .zip file extraction, and simplify the staging installation
step accordingly.]
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v3 1/1] rapidxml: new package
2015-08-17 14:16 ` Thomas Petazzoni
@ 2015-08-17 14:24 ` Thomas Petazzoni
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-08-17 14:24 UTC (permalink / raw)
To: buildroot
Jonathan,
On Mon, 17 Aug 2015 16:16:59 +0200, Thomas Petazzoni wrote:
> > package/Config.in | 1 +
> > package/rapidxml/Config.in | 11 +++++++++++
> > package/rapidxml/rapidxml.hash | 1 +
> > package/rapidxml/rapidxml.mk | 26 ++++++++++++++++++++++++++
> > 4 files changed, 39 insertions(+)
> > create mode 100644 package/rapidxml/Config.in
> > create mode 100644 package/rapidxml/rapidxml.hash
> > create mode 100644 package/rapidxml/rapidxml.mk
>
> Applied, after doing a number of changes:
For the record: the patch has been applied to the next branch, so it
will be part of the 2015.11 release, not the upcoming 2015.08 release.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-17 14:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-05 4:46 [Buildroot] [PATCH v3 1/1] rapidxml: new package Jonathan Ben-Avraham
2015-08-17 14:16 ` Thomas Petazzoni
2015-08-17 14:24 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox