stb-image-0.1.2: stb-image.cabal
Name: stb-image
Version: 0.1.2
Synopsis: A wrapper around Sean Barrett's JPEG/PNG decoder
Description: Partial implementation of JPEG, PNG, TGA, BMP, PSD decoders,
with a really simple API.
License: PublicDomain
License-file: LICENSE
Author: Balazs Komuves
Maintainer: bkomuves (plus) hackage (at) gmail (dot) com
Stability: Experimental
Category: Codec
Tested-With: GHC == 6.10.1, GHC == 6.8.3
Cabal-Version: >= 1.4
Build-Type: Simple
Extra-Source-Files: example/viewer.hs
Flag splitBase
Description: Choose the new smaller, split-up base package.
Library
if flag(splitBase)
Build-Depends: base >= 3, bytestring
else
Build-Depends: base < 3
Exposed-Modules: Codec.Image.STB
Hs-Source-Dirs: .
Extensions: ForeignFunctionInterface, CPP
ghc-options: -Wall
C-Sources: cbits/stb_image.c
Include-Dirs: cbits
cc-options: -O3 -DSTBI_NO_HDR -DSTBI_NO_STDIO -DSTBI_FAILURE_USERMSG