rapidxml: new package
PATCH v3 1/1 rapidxml: new package
From: Jonathan Ben Avraham <[email protected]>
--- 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
package/Config.in +1 -0
@@ -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"
package/rapidxml/Config.in new file +11 -0
@@ -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
package/rapidxml/rapidxml.hash new file +1 -0
@@ -0,0 +1 @@ +sha256 c3f0b886374981bb20fabcf323d755db4be6dba42064599481da64a85f5b3571 rapidxml-1.13.zip
package/rapidxml/rapidxml.mk new file +26 -0
@@ -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))
Signature · 1 line
1.7.9.5
Thomas Petazzoni
AppliedPATCH v3 1/1 rapidxml: new package
Jonathan,
Quoted 4 lines · Jonathan Ben-Avraham
From: Jonathan Ben Avraham <[email protected]>
Signed-off-by Jonathan Ben Avraham <[email protected]>
Quoted 9 lines
--- 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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v3 1/1 rapidxml: new package
Jonathan,
Quoted 10 lines · Thomas Petazzoni
Quoted 8 lines
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.mkApplied, 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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com