config BR2_PACKAGE_SLIRP
	bool "slirp"
	depends on BR2_USE_MMU # libglib2
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
	select BR2_PACKAGE_LIBGLIB2
	help
	  libslirp is a user-mode networking library used by virtual
	  machines, containers or various tools.

	  https://gitlab.freedesktop.org/slirp/libslirp/

	  NOTE:
	  This package has some history of a unique kind:
	    - originally developed as 'slirp' by Danny Gasparovski, and
	      seemingly abandoned (developer /disappeared/)
	    - then re-maintained at sourceforge by "Kelly", up to some
	      time around 2009: http://slirp.sourceforge.net/
	    - during that period, QEMU (Fabrice BELLARD) forked the code
	      and included it in QEMU
	    - and it was imported from this breed by the Spice project
	      around May 2009 which archived it in 2012
	    - So we switched to
	      https://gitlab.freedesktop.org/slirp/libslirp

comment "slirp needs a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
