yaml-cpp: new package
PATCH v2 1/1 yaml-cpp: new package
yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec.
https://code.google.com/p/yaml-cpp/
---
Changes v1 -> v2:
- rename the commit title (suggested by
thomas.petazzoni at free-electrons.com)
- change package place to Librairies > XML/JSON (suggested by thomas.petazzoni at free-electrons.com)
- change the YAML_CPP_VERSION and remove the useless YAML_CPP_SOURCE (suggested by thomas.petazzoni at free-electrons.com)
--- package/Config.in | 1 + package/yaml-cpp/Config.in | 14 ++++++++++++++ package/yaml-cpp/yaml-cpp.hash | 5 +++++ package/yaml-cpp/yaml-cpp.mk | 13 +++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 package/yaml-cpp/Config.in create mode 100644 package/yaml-cpp/yaml-cpp.hash create mode 100644 package/yaml-cpp/yaml-cpp.mk
package/Config.in +1 -0
@@ -734,6 +734,7 @@ menu "JSON/XML" source "package/tinyxml/Config.in" source "package/xerces/Config.in" source "package/yajl/Config.in" + source "package/yaml-cpp/Config.in" endmenu menu "Logging"
package/yaml-cpp/Config.in new file +14 -0
@@ -0,0 +1,14 @@ +config BR2_PACKAGE_YAML_CPP + bool "yaml-cpp" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_LARGEFILE + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_BOOST + help + yaml-cpp is a YAML parser and emitter in C++ matching + the YAML 1.2 spec. + + https://code.google.com/p/yaml-cpp/ + +comment "yaml-cpp needs a toolchain w/ C++, largefile, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
package/yaml-cpp/yaml-cpp.hash new file +5 -0
@@ -0,0 +1,5 @@ +# hash from: https://yaml-cpp.googlecode.com/files/yaml-cpp-0.5.1.tar.gz: +sha1 9c5414b4090491e96d1b808fe8628b31e625fdaa yaml-cpp-0.5.1.tar.gz + +# Locally calculated: +sha256 3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 yaml-cpp-0.5.1.tar.gz
package/yaml-cpp/yaml-cpp.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# yaml-cpp +# +################################################################################ + +YAML_CPP_VERSION = 0.5.1 +YAML_CPP_SITE = https://yaml-cpp.googlecode.com/files +YAML_CPP_INSTALL_STAGING = YES +YAML_CPP_LICENSE = MIT +YAML_CPP_LICENSE_FILES = license.txt + +$(eval $(cmake-package))
Signature · 1 line
1.8.3.4
PATCH v2 1/1 yaml-cpp: new package
Sebastien, All,
On 2014-10-16 10:48 -0400, Sebastien Bourdelin spake thusly:
Quoted 6 lines
yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec.
https://code.google.com/p/yaml-cpp/
Signed-off-by Sebastien Bourdelin <[email protected]>
[--SNIP--]
package/yaml-cpp/Config.in line 6
Quoted 12 lines
package/yaml-cpp/Config.in new file +6
-0@@ -0,0 +1,14 @@ +config BR2_PACKAGE_YAML_CPP + bool "yaml-cpp" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_LARGEFILE + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_BOOST
Are BR2_LARGEFILE and BR2_TOOLCHAIN_HAS_THREADS hard dependencies of yaml-cpp, or are they inherited from boost?
In the latter case, it should be documented, like so:
depends on BR2_LARGEFILE # boost
depends on BR2_TOOLCHAIN_HAS_THREADS # boost
package/yaml-cpp/yaml-cpp.mk
Quoted 20 lines
package/yaml-cpp/Config.in new file +8
-0+ help + yaml-cpp is a YAML parser and emitter in C++ matching + the YAML 1.2 spec. + + https://code.google.com/p/yaml-cpp/ + +comment "yaml-cpp needs a toolchain w/ C++, largefile, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADSpackage/yaml-cpp/yaml-cpp.hash new file +5
-0@@ -0,0 +1,5 @@ +# hash from: https://yaml-cpp.googlecode.com/files/yaml-cpp-0.5.1.tar.gz: +sha1 9c5414b4090491e96d1b808fe8628b31e625fdaa yaml-cpp-0.5.1.tar.gz + +# Locally calculated: +sha256 3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 yaml-cpp-0.5.1.tar.gzpackage/yaml-cpp/yaml-cpp.mk +0
-0
Both hash locally and manually verified.
Regards,
Yann E. MORIN.
Quoted 25 lines
new file mode 100644
index 0000000..5ebdb23package/yaml-cpp/yaml-cpp.mk new file +13
-0@@ -0,0 +1,13 @@ +################################################################################ +# +# yaml-cpp +# +################################################################################ + +YAML_CPP_VERSION = 0.5.1 +YAML_CPP_SITE = https://yaml-cpp.googlecode.com/files +YAML_CPP_INSTALL_STAGING = YES +YAML_CPP_LICENSE = MIT +YAML_CPP_LICENSE_FILES = license.txt + +$(eval $(cmake-package))Signature · 6 lines
1.8.3.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 13 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141019/a182decd/attachment.asc>
PATCH v2 1/1 yaml-cpp: new package
Hi Yann,
Thanks for your review.
Quoted 10 lines · Yann E. MORIN
Sebastien, All,
On 2014-10-16 10:48 -0400, Sebastien Bourdelin spake thusly:
Quoted 6 lines
yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec.
https://code.google.com/p/yaml-cpp/
Signed-off-by Sebastien Bourdelin <[email protected]>[--SNIP--]
Quoted 14 lines
package/yaml-cpp/Config.in line 6
Quoted 12 lines
package/yaml-cpp/Config.in new file +6
-0@@ -0,0 +1,14 @@ +config BR2_PACKAGE_YAML_CPP + bool "yaml-cpp" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_LARGEFILE + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_BOOSTAre
BR2_LARGEFILEandBR2_TOOLCHAIN_HAS_THREADShard dependencies of yaml-cpp, or are they inherited from boost?
Yes dependencies are inherited from boost.
I will send an other patch.
Quoted 53 lines
In the latter case, it should be documented, like so:
depends on
BR2_LARGEFILE# boost
depends onBR2_TOOLCHAIN_HAS_THREADS# boostpackage/yaml-cpp/yaml-cpp.mk
Quoted 20 lines
package/yaml-cpp/Config.in new file +8
-0+ help + yaml-cpp is a YAML parser and emitter in C++ matching + the YAML 1.2 spec. + + https://code.google.com/p/yaml-cpp/ + +comment "yaml-cpp needs a toolchain w/ C++, largefile, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADSpackage/yaml-cpp/yaml-cpp.hash new file +5
-0@@ -0,0 +1,5 @@ +# hash from: https://yaml-cpp.googlecode.com/files/yaml-cpp-0.5.1.tar.gz: +sha1 9c5414b4090491e96d1b808fe8628b31e625fdaa yaml-cpp-0.5.1.tar.gz + +# Locally calculated: +sha256 3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 yaml-cpp-0.5.1.tar.gzpackage/yaml-cpp/yaml-cpp.mk +0
-0Both hash locally and manually verified.
Reviewed-by "Yann E. MORIN" <[email protected]>Regards,
Yann E. MORIN.Quoted 21 lines
new file mode 100644
index 0000000..5ebdb23package/yaml-cpp/yaml-cpp.mk new file +13
-0@@ -0,0 +1,13 @@ +################################################################################ +# +# yaml-cpp +# +################################################################################ + +YAML_CPP_VERSION = 0.5.1 +YAML_CPP_SITE = https://yaml-cpp.googlecode.com/files +YAML_CPP_INSTALL_STAGING = YES +YAML_CPP_LICENSE = MIT +YAML_CPP_LICENSE_FILES = license.txt + +$(eval $(cmake-package))Signature · 1 line
1.8.3.4
Quoted 4 lines
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Regards,
Sebastien Bourdelin.