1config BR2_PACKAGE_TTYD
2	bool "ttyd"
3	depends on !BR2_STATIC_LIBS # libuv, libwebsockets
4	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
5	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv, json-c
6	depends on BR2_USE_MMU # libuv
7	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
8	select BR2_PACKAGE_JSON_C
9	select BR2_PACKAGE_LIBUV
10	select BR2_PACKAGE_LIBWEBSOCKETS
11	select BR2_PACKAGE_OPENSSL
12	select BR2_PACKAGE_ZLIB
13	help
14	  ttyd is a simple command-line tool for sharing terminal
15	  over the web.
16
17	  https://github.com/tsl0922/ttyd
18
19comment "ttyd needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
20	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
21		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
22	depends on BR2_USE_MMU
23	depends on BR2_TOOLCHAIN_HAS_SYNC_4
24