1config BR2_PACKAGE_ASTERISK
2	bool "asterisk"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on !BR2_STATIC_LIBS # dlfcn.h
5	depends on !BR2_TOOLCHAIN_USES_MUSL
6	depends on BR2_USE_MMU # libedit
7	depends on BR2_TOOLCHAIN_HAS_THREADS
8	depends on BR2_USE_WCHAR # libedit
9	select BR2_PACKAGE_JANSSON
10	select BR2_PACKAGE_LIBCURL
11	select BR2_PACKAGE_LIBEDIT
12	select BR2_PACKAGE_LIBILBC
13	select BR2_PACKAGE_LIBJWT
14	select BR2_PACKAGE_LIBPJSIP
15	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
16	select BR2_PACKAGE_LIBXML2
17	select BR2_PACKAGE_SQLITE
18	select BR2_PACKAGE_UTIL_LINUX
19	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
20	help
21	  Asterisk is an open source framework for building
22	  communications applications. Asterisk turns an ordinary
23	  computer into a communications server. Asterisk powers IP PBX
24	  systems, VoIP gateways, conference servers and other custom
25	  solutions. It is used by small businesses, large businesses,
26	  call centers, carriers and government agencies, worldwide.
27	  Asterisk is free and open source.
28
29	  http://www.asterisk.org/
30
31comment "asterisk needs a glibc or uClibc toolchain w/ C++, dynamic library, threads, wchar"
32	depends on BR2_USE_MMU
33	depends on BR2_TOOLCHAIN_USES_MUSL || !BR2_INSTALL_LIBSTDCPP \
34		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
35		|| !BR2_USE_WCHAR
36