mutt: move configurables to Config.in

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
This commit is contained in:
Matthew Hagan 2022-01-04 14:14:18 +00:00 committed by Rosen Penev
parent b59938c86e
commit 8221e9db44
2 changed files with 33 additions and 36 deletions

32
mail/mutt/Config.in Normal file
View File

@ -0,0 +1,32 @@
if PACKAGE_mutt
config MUTT_POP
bool "POP support"
default y
help
Enables POP support in mutt.
config MUTT_IMAP
bool "IMAP support"
default y
help
Enables IMAP support in mutt.
config MUTT_SMTP
bool "SMTP support"
default n
help
Enables SMTP support in mutt.
config MUTT_SASL
bool "SASL support"
default n
help
Enables SASL support in mutt (libsasl2).
config MUTT_GNUTLS
bool "GnuTLS support"
default n
help
Enables GnuTLS support in mutt (libgnutls).
config MUTT_OPENSSL
bool "OpenSSL support"
default y
help
Enables OpenSSL support in mutt (libopenssl).
endif

View File

@ -60,42 +60,7 @@ define Package/mutt/install
endef
define Package/mutt/config
config MUTT_POP
depends on PACKAGE_mutt
bool "POP support"
default y
help
Enables POP support in mutt.
config MUTT_IMAP
depends on PACKAGE_mutt
bool "IMAP support"
default y
help
Enables IMAP support in mutt
config MUTT_SMTP
depends on PACKAGE_mutt
bool "SMTP support"
default n
help
Enables SMTP support in mutt.
config MUTT_SASL
depends on PACKAGE_mutt
bool "SASL support"
default n
help
Enables SASL support in mutt (libsasl2).
config MUTT_GNUTLS
depends on PACKAGE_mutt
bool "GnuTLS support"
default n
help
Enables GnuTLS support in mutt (libgnutls).
config MUTT_OPENSSL
depends on PACKAGE_mutt
bool "OpenSSL support"
default y
help
Enables OpenSSL support in mutt (libopenssl).
source "$(SOURCE)/Config.in"
endef
$(eval $(call BuildPackage,mutt))