-
Notifications
You must be signed in to change notification settings - Fork 2
/
libpng.cabal
43 lines (38 loc) · 1.05 KB
/
libpng.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: libpng
version: 0.0.1
license: GPL-3
license-file: COPYING
copyright: (c) Frank Waterret
author: Frank Waterret
maintainer: Frank Waterret <[email protected]>
bug-reports: mailto:[email protected]
stability: unstable
homepage: https://github.com/waterret/LibPNG-haskell
synopsis: A wrapper around libpng for haskell.
category: Console, Text
cabal-version: >= 1.6
build-type: Simple
Description:
A wrapper around libpng for haskell. Basic read and write functions
have been implemented. Capable to produce and read RGBA png files.
source-repository head
type: git
location: git://github.com/waterret/LibPNG-haskell.git
flag threaded
default: False
library
exposed-modules: Codec.Image.LibPNG
hs-source-dirs: src
extra-libraries: png
build-depends: base >= 4.2 && < 5
ghc-options: -Wall -O2
if flag(threaded)
ghc-options: -threaded
executable png-haskell-example
hs-source-dirs: src
main-is: Main.hs
extra-libraries: png
build-depends: base >= 4.2 && < 5
ghc-options: -Wall -O2
if flag(threaded)
ghc-options: -threaded