-
Notifications
You must be signed in to change notification settings - Fork 21
/
HFuse.cabal
60 lines (55 loc) · 1.93 KB
/
HFuse.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Name: HFuse
Version: 0.2.5.0
License: BSD3
License-File: LICENSE
Author: Jeremy Bobbio
Maintainer: Montez Fitzpatrick <[email protected]>
Synopsis: HFuse is a binding for the Linux FUSE library.
Description: Bindings for the FUSE library, compatible with Linux, OSXFUSE and FreeBSD.
Homepage: https://github.com/m15k/hfuse
Category: System
Stability: Experimental
Cabal-Version: >= 1.10
Build-Type: Simple
Extra-source-files:
CHANGELOG.md
README.md
flag developer
default: False
Library
Build-Depends: base >= 4 && < 5, unix, bytestring
Exposed-Modules: System.Fuse
Default-Extensions: ForeignFunctionInterface ScopedTypeVariables EmptyDataDecls
Includes: dirent.h, fuse.h, fcntl.h
Include-Dirs: /usr/include, /usr/local/include, .
if os(darwin)
CC-Options: "-DMACFUSE"
CC-Options: "-DFUSE_USE_VERSION=26"
Include-Dirs: /usr/local/include/osxfuse
else
if os(freebsd)
Includes: sys/param.h, sys/mount.h
CC-Options: "-Df_namelen=f_namemax"
CC-Options: "-DFUSE_USE_VERSION=26"
else
Includes: sys/statfs.h
if os(darwin)
Extra-Libraries: osxfuse
else
Extra-Libraries: fuse
Extra-Lib-Dirs: /usr/local/lib
CC-Options: "-D_FILE_OFFSET_BITS=64"
Default-Language: Haskell2010
executable HelloFS
if flag(developer)
buildable: True
build-depends: base >= 4 && < 5, HFuse, unix, bytestring
else
buildable: False
main-is: HelloFS.hs
hs-source-dirs: examples
ghc-options: -threaded
Default-Language: Haskell2010
source-repository head
type: git
location: https://github.com/m15k/hfuse.git