summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hagan <mnhagan88@gmail.com>2022-01-04 14:14:18 +0000
committerRosen Penev <rosenp@gmail.com>2022-02-02 12:35:55 -0800
commit8221e9db44f3d37c985731c53377ef29cad2bba2 (patch)
tree42f0d7eaa9dd8991e468e3418172326d36d4c2ac
parentb59938c86e5a247db5f8f08ed66f77044f5f2f30 (diff)
mutt: move configurables to Config.in
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
-rw-r--r--mail/mutt/Config.in32
-rw-r--r--mail/mutt/Makefile37
2 files changed, 33 insertions, 36 deletions
diff --git a/mail/mutt/Config.in b/mail/mutt/Config.in
new file mode 100644
index 000000000..88c292adb
--- /dev/null
+++ b/mail/mutt/Config.in
@@ -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
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 49c8be91a..09f6dc794 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -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))