|
Packit |
61f268 |
name: unix-compat
|
|
Packit |
61f268 |
version: 0.5.0.1
|
|
Packit |
61f268 |
synopsis: Portable POSIX-compatibility layer.
|
|
Packit |
61f268 |
description: This package provides portable implementations of parts
|
|
Packit |
61f268 |
of the unix package. This package re-exports the unix
|
|
Packit |
61f268 |
package when available. When it isn't available,
|
|
Packit |
61f268 |
portable implementations are used.
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
homepage: http://github.com/jystic/unix-compat
|
|
Packit |
61f268 |
license: BSD3
|
|
Packit |
61f268 |
license-file: LICENSE
|
|
Packit |
61f268 |
author: Björn Bringert, Duncan Coutts, Jacob Stanley, Bryan O'Sullivan
|
|
Packit |
61f268 |
maintainer: Jacob Stanley <jacob@stanley.io>
|
|
Packit |
61f268 |
category: System
|
|
Packit |
61f268 |
build-type: Simple
|
|
Packit |
61f268 |
cabal-version: >= 1.6
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
source-repository head
|
|
Packit |
61f268 |
type: git
|
|
Packit |
61f268 |
location: git://github.com/jystic/unix-compat.git
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
flag old-time
|
|
Packit |
61f268 |
description: build against old-time package
|
|
Packit |
61f268 |
default: False
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
Library
|
|
Packit |
61f268 |
hs-source-dirs: src
|
|
Packit |
61f268 |
ghc-options: -Wall
|
|
Packit |
61f268 |
build-depends: base == 4.*
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
exposed-modules:
|
|
Packit |
61f268 |
System.PosixCompat
|
|
Packit |
61f268 |
System.PosixCompat.Extensions
|
|
Packit |
61f268 |
System.PosixCompat.Files
|
|
Packit |
61f268 |
System.PosixCompat.Temp
|
|
Packit |
61f268 |
System.PosixCompat.Time
|
|
Packit |
61f268 |
System.PosixCompat.Types
|
|
Packit |
61f268 |
System.PosixCompat.Unistd
|
|
Packit |
61f268 |
System.PosixCompat.User
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
if os(windows)
|
|
Packit |
61f268 |
c-sources:
|
|
Packit |
61f268 |
cbits/HsUname.c
|
|
Packit |
61f268 |
cbits/mktemp.c
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
extra-libraries: msvcrt
|
|
Packit |
61f268 |
build-depends: Win32 >= 2.5.0.0
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
if flag(old-time)
|
|
Packit |
61f268 |
build-depends: old-time >= 1.0.0.0 && < 1.2.0.0
|
|
Packit |
61f268 |
cpp-options: -DOLD_TIME
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
if impl(ghc < 7)
|
|
Packit |
61f268 |
build-depends: directory == 1.0.*
|
|
Packit |
61f268 |
cpp-options: -DDIRECTORY_1_0
|
|
Packit |
61f268 |
else
|
|
Packit |
61f268 |
build-depends: directory == 1.1.*
|
|
Packit |
61f268 |
else
|
|
Packit |
61f268 |
build-depends: time >= 1.0 && < 1.9
|
|
Packit |
61f268 |
build-depends: directory >= 1.2 && < 1.4
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
other-modules:
|
|
Packit |
61f268 |
System.PosixCompat.Internal.Time
|
|
Packit |
61f268 |
|
|
Packit |
61f268 |
else
|
|
Packit |
61f268 |
build-depends: unix >= 2.4 && < 2.8
|
|
Packit |
61f268 |
include-dirs: include
|
|
Packit |
61f268 |
includes: HsUnixCompat.h
|
|
Packit |
61f268 |
install-includes: HsUnixCompat.h
|
|
Packit |
61f268 |
c-sources: cbits/HsUnixCompat.c
|
|
Packit |
61f268 |
if os(solaris)
|
|
Packit |
61f268 |
cc-options: -DSOLARIS
|