X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=wavpack.git;a=blobdiff_plain;f=wavpack.cabal;h=740e60ac06c6ad3d3c1f3b99b4f6db13466246fc;hp=239e4e9dc998ad2078df084a1ff12929dac5f211;hb=9128d47e1f753b82477535a1116b3a4f416243fc;hpb=e1c40f16ebdddf304dd7b96f0d160e512aeaf93f diff --git a/wavpack.cabal b/wavpack.cabal index 239e4e9..740e60a 100644 --- a/wavpack.cabal +++ b/wavpack.cabal @@ -20,16 +20,37 @@ 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.*, - bytestring == 0.9.* + binary-strict == 0.4.*, + bytestring == 0.9.*, + strict == 0.3.* Exposed-Modules: Codec.Audio.WavPack - Codec.Audio.WavPack.Types + Codec.Audio.WavPack.Block + 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