config BR2_PACKAGE_CUPS
	bool "cups"
	# needs libstdcpp for ppdc
	depends on BR2_INSTALL_LIBSTDCPP
	# needs threads for ippserver
	depends on BR2_TOOLCHAIN_HAS_THREADS
	# needs fork()
	depends on BR2_USE_MMU
	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
	help
	  The Common Unix Printing System

	  https://openprinting.github.io/cups

comment "cups needs a toolchain w/ C++, threads"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
