From d56e2da928343b9cadb8e034036926e089ad861e Mon Sep 17 00:00:00 2001 From: Jose A Ortega Ruiz Date: Sun, 21 Feb 2010 21:38:09 +0100 Subject: New Wireless monitor Ignore-this: b1b66ffa9077f8d41a5c0e962ee0bff3 darcs-hash:20100221203809-748be-71bc1951a2eb8164b0043725bcb707f42e530ded.gz --- xmobar.cabal | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'xmobar.cabal') 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 -- cgit v1.2.3