1config BR2_PACKAGE_DOCOPT_CPP
2	bool "docopt-cpp"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
5	help
6	  docopt is a library that lets you define a command line
7	  interface with the utility argument syntax that has been
8	  used by command line utilities for decades (POSIX.1-2017).
9	  From the description, docopt automatically generates a parser
10	  for the command line arguments.
11
12	  docopt Command-line interface description language
13	  http://docopt.org/
14
15	  docopt.cpp is a C++ port of docopt.
16
17	  https://github.com/docopt/docopt.cpp
18
19comment "docopt-cpp needs a toolchain w/ C++, gcc >= 4.7"
20	depends on !BR2_INSTALL_LIBSTDCPP || \
21		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
22