X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=wavpack.git;a=blobdiff_plain;f=wavpack.cabal;h=7001778ca3d6c9d590267d151eb44f658facb83a;hp=f17306bff5f962aec1bf8f089c72bcdf6d166674;hb=78a686c2314abc67b3f388833c255a102fe63024;hpb=29798f163756481db542070067dee15501f281a6 diff --git a/wavpack.cabal b/wavpack.cabal index f17306b..7001778 100644 --- a/wavpack.cabal +++ b/wavpack.cabal @@ -20,17 +20,40 @@ 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.Block + Codec.Audio.WavPack.Decorrelation + Codec.Audio.WavPack.Internal + 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