mutt: move configurables to Config.in
authorMatthew Hagan <mnhagan88@gmail.com>
Tue, 4 Jan 2022 14:14:18 +0000 (14:14 +0000)
committerRosen Penev <rosenp@gmail.com>
Wed, 2 Feb 2022 20:35:55 +0000 (12:35 -0800)
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
mail/mutt/Config.in [new file with mode: 0644]
mail/mutt/Makefile

diff --git a/mail/mutt/Config.in b/mail/mutt/Config.in
new file mode 100644 (file)
index 0000000..88c292a
--- /dev/null
@@ -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
index 49c8be91af858c4d4022d8621f75ca531d533fa7..09f6dc794b6708518dd36a4127e861a181cfe34b 100644 (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))