tools/pas2c/pas2c.cabal
author raptor <buckyballreaction@gmail.com>
Mon, 26 Aug 2019 15:40:15 -0600
changeset 15383 c8f37fc9c266
parent 13512 36f3f77e9b1b
permissions -rw-r--r--
Add DARWIN flag to fix BUILD_ENGINE_C compilation on macOS
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11399
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     1
Name:                pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     2
Version:             0.1
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     3
Synopsis:            pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     4
Description:         pas2c
13512
36f3f77e9b1b Switch from http:// to https:// URLs where possible
Wuzzy <Wuzzy2@mail.ru>
parents: 11399
diff changeset
     5
Homepage:            https://www.hedgewars.org/
11399
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     6
License:             GPL-2
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     7
Author:              unC0Rr
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     8
Maintainer:          unC0Rr@hedgewars.org
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     9
Category:            Converter
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    10
Build-type:          Simple
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    11
Cabal-version:       >=1.10
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    12
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    13
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    14
Executable pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    15
  main-is: Main.hs
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    16
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    17
  default-language:    Haskell2010
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    18
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    19
  build-depends:
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    20
    base >= 4.3,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    21
    containers,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    22
    mtl >= 2,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    23
    parsec,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    24
    pretty,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    25
    transformers
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    26
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    27
  if !os(windows)
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    28
    build-depends: unix
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    29
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    30
  ghc-options: -O2