1menuconfig BR2_PACKAGE_SCONESERVER
2	bool "sconeserver"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
5	depends on !BR2_STATIC_LIBS # dlopen()
6	select BR2_PACKAGE_PCRE
7	select BR2_PACKAGE_ZLIB
8	help
9	  Sconeserver is a modular, object-orientated and extremely
10	  versatile network server framework for GNU/Linux and
11	  UNIX-like platforms.
12
13	  http://www.sconemad.com/sconeserver/
14
15if BR2_PACKAGE_SCONESERVER
16
17comment "Sconeserver modules"
18
19config BR2_PACKAGE_SCONESERVER_BLUETOOTH
20	bool "bluetooth"
21	depends on BR2_USE_WCHAR # bluez5_utils -> libglib2
22	depends on BR2_USE_MMU # bluez5_utils -> dbus
23	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, libglib2
24	depends on !BR2_STATIC_LIBS # bluez5_utils
25	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils
26	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils
27	select BR2_PACKAGE_BLUEZ5_UTILS
28	help
29	  Bluetooth module for Sconeserver
30
31comment "bluetooth support needs a toolchain w/ wchar, threads, dynamic library, headers >= 3.4"
32	depends on BR2_USE_MMU
33	depends on BR2_TOOLCHAIN_HAS_SYNC_4
34	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
35		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
36
37config BR2_PACKAGE_SCONESERVER_EXAMPLES
38	bool "examples"
39	help
40	  Example modules for Sconeserver
41
42config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE
43	bool "http::sconesite"
44	select BR2_PACKAGE_LIBXML2
45	help
46	  http::sconesite module for Sconeserver
47
48config BR2_PACKAGE_SCONESERVER_LOCATION
49	bool "location"
50	depends on BR2_USE_MMU # gpsd
51	depends on BR2_TOOLCHAIN_HAS_THREADS # gpsd
52	depends on !BR2_STATIC_LIBS # gpsd
53	select BR2_PACKAGE_GPSD
54	help
55	  Location module for Sconeserver
56
57comment "location support needs a toolchain w/ theads, dynamic library"
58	depends on BR2_USE_MMU
59	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
60
61config BR2_PACKAGE_SCONESERVER_MATHS
62	bool "maths"
63	select BR2_PACKAGE_MPFR
64	help
65	  Mathematics module for Sconeserver
66
67config BR2_PACKAGE_SCONESERVER_MYSQL
68	bool "mysql"
69	depends on BR2_USE_MMU # mysql
70	select BR2_PACKAGE_MARIADB
71	help
72	  MySQL module for Sconeserver
73
74config BR2_PACKAGE_SCONESERVER_RSS
75	bool "rss"
76	select BR2_PACKAGE_LIBXML2
77	help
78	  RSS module for Sconeserver
79
80config BR2_PACKAGE_SCONESERVER_SQLITE
81	bool "sqlite"
82	select BR2_PACKAGE_SQLITE
83	help
84	  SQLite module for Sconeserver
85
86config BR2_PACKAGE_SCONESERVER_TESTBUILDER
87	bool "testbuilder"
88	help
89	  Testbuilder module for Sconeserver
90
91endif # BR2_PACKAGE_SCONESERVER
92
93comment "sconeserver needs a toolchain with dynamic library, C++, NPTL"
94	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
95		|| BR2_STATIC_LIBS
96