config BR2_PACKAGE_ASTERISK
	bool "asterisk"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on !BR2_STATIC_LIBS # dlfcn.h
	depends on !BR2_TOOLCHAIN_USES_MUSL
	depends on BR2_USE_MMU # libedit
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_WCHAR # libedit
	select BR2_PACKAGE_JANSSON
	select BR2_PACKAGE_LIBCURL
	select BR2_PACKAGE_LIBEDIT
	select BR2_PACKAGE_LIBILBC
	select BR2_PACKAGE_LIBXML2
	select BR2_PACKAGE_SQLITE
	select BR2_PACKAGE_UTIL_LINUX
	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
	help
	  Asterisk is an open source framework for building
	  communications applications. Asterisk turns an ordinary
	  computer into a communications server. Asterisk powers IP PBX
	  systems, VoIP gateways, conference servers and other custom
	  solutions. It is used by small businesses, large businesses,
	  call centers, carriers and government agencies, worldwide.
	  Asterisk is free and open source.

	  http://www.asterisk.org/

comment "asterisk needs a glibc or uClibc toolchain w/ C++, dynamic library, threads, wchar"
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_USES_MUSL || !BR2_INSTALL_LIBSTDCPP \
		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
		|| !BR2_USE_WCHAR
