File: pid1.cabal

package info (click to toggle)
haskell-pid1 0.1.3.1-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 92 kB
  • sloc: haskell: 194; makefile: 6
file content (45 lines) | stat: -rw-r--r-- 1,433 bytes parent folder | download
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
name:                pid1
version:             0.1.3.1
synopsis:            Do signal handling and orphan reaping for Unix PID1 init processes
description:         Please see README.md or view Haddocks at <https://www.stackage.org/package/pid1>
homepage:            https://github.com/fpco/pid1#readme
license:             MIT
license-file:        LICENSE
author:              Michael Snoyman
maintainer:          michael@snoyman.com
copyright:           2016 Michael Snoyman
category:            System
build-type:          Simple
extra-source-files:  README.md ChangeLog.md stack.yaml
cabal-version:       >=1.10

flag static
  description: Statically link executables.
  manual: True
  default: False

library
  hs-source-dirs:      src
  exposed-modules:     System.Process.PID1
  build-depends:       base >= 4 && < 5
                     , process >= 1.2
                     , unix
                     , directory
  default-language:    Haskell2010
  ghc-options:         -Wall

executable pid1
  hs-source-dirs:      app
  main-is:             Main.hs
  if flag(static) && os(linux)
    ghc-options: -Wall -rtsopts=none -threaded -optc-Os -optl=-pthread -optl=-static -fPIC
    ld-options: -static
  else
    ghc-options: -Wall -threaded -rtsopts=none
  build-depends:       base
                     , pid1
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/fpco/pid1