summaryrefslogtreecommitdiff
path: root/bindings-posix.cabal
blob: 72bb3e069f399688001ee02117a80d3eeaeb95d7 (plain)
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
44
45
46
47
48
49
50
51
cabal-version: >= 1.8
name: bindings-posix
synopsis:
  Low level bindings to posix.
description:
  Low level bindings to Posix standard library, part
  of the @bindings-*@. See:
  .
  <http://bitbucket.org/mauricio/bindings-DSL
version: 1.2.4
license: BSD3
license-file: LICENSE
maintainer: MaurĂ­cio C. Antunes <mauricio.antunes@gmail.com>
author: MaurĂ­cio C. Antunes
bug-reports: http://bitbucket.org/mauricio/bindings-dsl/issues
build-type: Simple
category: FFI
library
  hs-source-dirs: src
  extensions:
    ForeignFunctionInterface
  build-depends:
    base >= 3 && < 5,
    bindings-DSL >= 1.0.16 && < 1.1
  exposed-modules:
    Bindings.Posix
    Bindings.Posix.Errno
    Bindings.Posix.Fcntl
    Bindings.Posix.Locale
    Bindings.Posix.Regex
    Bindings.Posix.Signal
    Bindings.Posix.Sys
    Bindings.Posix.Sys.Mman
    Bindings.Posix.Sys.Select
    Bindings.Posix.Sys.Types
    Bindings.Posix.Sys.Utsname
    Bindings.Posix.Time
    Bindings.Posix.Unistd
  c-sources:
    src/Bindings/Posix/Sys/Select.c
    src/Bindings/Posix/Time.c
  cc-options:
    "-D_ISOC99_SOURCE"
    "-D_POSIX_C_SOURCE=200112L"
    "-D_XOPEN_SOURCE=600"
  extra-libraries: pthread
source-repository head
  type: git
  location: https://bitbucket.org/mauricio/bindings-dsl
  branch: master
  subdir: bindings-posix