X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=wavpack.cabal;h=cead654fc62e49663a38ee9335d30c9a548b16ad;hb=5bf7c1be1cfce7ef8764ca3fbc34e8ef9bcf5037;hp=bd32cfef927dcdb9cf514d19fbf80311dcf1857b;hpb=e551d9c9c39035bf91fe1c0ca7f43abc2b37ab6a;p=wavpack.git diff --git a/wavpack.cabal b/wavpack.cabal index bd32cfe..cead654 100644 --- a/wavpack.cabal +++ b/wavpack.cabal @@ -20,14 +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 == 0.5.*, + binary-strict == 0.4.*, + bytestring == 0.9.*, + strict == 0.3.*, + vector == 0.7.* Exposed-Modules: Codec.Audio.WavPack + 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