summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorJose A Ortega Ruiz <jao@gnu.org>2010-02-21 21:38:09 +0100
committerJose A Ortega Ruiz <jao@gnu.org>2010-02-21 21:38:09 +0100
commitd56e2da928343b9cadb8e034036926e089ad861e (patch)
tree9e316ea2523d97f8f208a580de9ddafc35412052 /xmobar.cabal
parent7f9eb02f5c420d8f9e425310d3982145649dbba1 (diff)
downloadxmobar-d56e2da928343b9cadb8e034036926e089ad861e.tar.gz
xmobar-d56e2da928343b9cadb8e034036926e089ad861e.tar.bz2
New Wireless monitor
Ignore-this: b1b66ffa9077f8d41a5c0e962ee0bff3 darcs-hash:20100221203809-748be-71bc1951a2eb8164b0043725bcb707f42e530ded.gz
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal10
1 files changed, 9 insertions, 1 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 24f6b36..4af6d3b 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -31,9 +31,13 @@ flag with_inotify
description: inotify support (modern Linux only). Required for the Mail plugin.
default: False
+flag with_iwlib
+ description: wireless info support. Required for the Wireless plugin, needs iwlib installed.
+ default: False
+
executable xmobar
main-is: Main.hs
- other-Modules: Xmobar, Config, Parsers, Commands, XUtil, StatFS, Runnable, Plugins
+ other-modules: Xmobar, Config, Parsers, Commands, XUtil, StatFS, Runnable, Plugins
ghc-prof-options: -prof -auto-all
if true
@@ -65,3 +69,7 @@ executable xmobar
build-depends: hinotify
cpp-options: -DINOTIFY
+ if flag(with_iwlib)
+ extra-libraries: iw
+ other-modules: IWlib
+ cpp-options: -DIWLIB \ No newline at end of file