config BR2_PACKAGE_HPLIP
	bool "hplip"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_PACKAGE_CUPS
	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
	depends on !BR2_STATIC_LIBS # libdl
	select BR2_PACKAGE_LIBUSB
	select BR2_PACKAGE_JPEG
	help
	  HP Linux Imaging and Printing (HPLIP)
	  HPLIP is an HP-developed solution for printing, scanning, and
	  faxing with HP inkjet and laser based printers in Linux. The
	  HPLIP project provides printing support for 2,211 printer
	  models, including Deskjet, Officejet, Photosmart, PSC
	  (Print Scan Copy), Business Inkjet, LaserJet, Edgeline MFP,
	  and LaserJet MFP.

	  http://hplipopensource.com/

comment "hplip needs a toolchain w/ C++, threads, dynamic library"
	depends on BR2_PACKAGE_CUPS
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
		BR2_STATIC_LIBS
