Name: Codec-Image-DevIL
Description:
    Provides a very simple interface to the DevIL image library.
    Provides functions readImage and writeImage, which can read
    and write many image formats from/to an RGBA array of values
    to work with.
Version: 0.1
Stability: experimental
Synopsis: An FFI interface to the DevIL library
License: BSD3
Category: Codecs
Author: Luke Palmer
Maintainer: lrpalmer@gmail.com
Build-Type: Simple
Cabal-Version: >= 1.2
Library
    Build-Depends: base, array
    Exposed-Modules: Codec.Image.DevIL
    Extensions: ForeignFunctionInterface, CPP
    Build-Tools: hsc2hs
    Extra-Libraries: IL
    if os(windows)
        CPP-Options: -DCALLTYPE=stdcall
    else
        CPP-Options: -DCALLTYPE=ccall