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