X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=wavpack.git;a=blobdiff_plain;f=wavpack.cabal;h=cead654fc62e49663a38ee9335d30c9a548b16ad;hp=eb2460c136df3c46dfa96fab9bb11939792c3e5d;hb=79fe8094594b6b25d7d9c44bc128418d69f1da95;hpb=756e67d4885f0f8b043c907c7ac8693abc5f417d diff --git a/wavpack.cabal b/wavpack.cabal index eb2460c..cead654 100644 --- a/wavpack.cabal +++ b/wavpack.cabal @@ -20,17 +20,39 @@ Source-Repository head Type: git Location: git://git.cielonegro.org/wavpack.git +Flag build-examples + Description: Build example programs. + Default: False + Library Build-Depends: base == 4.*, base-unicode-symbols == 0.2.*, binary == 0.5.*, binary-strict == 0.4.*, - bytestring == 0.9.* + bytestring == 0.9.*, + strict == 0.3.*, + vector == 0.7.* Exposed-Modules: Codec.Audio.WavPack - Codec.Audio.WavPack.Types + Codec.Audio.WavPack.Block + Codec.Audio.WavPack.Decorrelation + Codec.Audio.WavPack.Metadata GHC-Options: -Wall + +Executable hs-wvinfo + if flag(build-examples) + Buildable: True + else + Buildable: False + + HS-Source-Dirs: + ., examples + + Main-Is: WvInfo.hs + + GHC-Options: + -Wall