-
Notifications
You must be signed in to change notification settings - Fork 1
/
futun.cabal
43 lines (36 loc) · 1.27 KB
/
futun.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
name: futun
version: 0.1.0.1
synopsis: Simple IP-over-UDP tunnel using TUNTAP
description: Futun is a simple IP-over-UDP tunnel for
minimal-setup tunneling. It uses the TUN/TAP
<http://en.wikipedia.org/wiki/TUN/TAP> device and
works on GNU/Linux and Mac OS X.
license: GPL-3
license-file: LICENSE
author: Jussi Mäki
maintainer: Jussi Mäki <joamaki@gmail.com>
-- copyright:
category: System, Network
build-type: Simple
cabal-version: >=1.8
extra-source-files: cbits/tuntap.h
source-repository head
type: git
location: git://github.com/joamaki/futun.git
flag static
description: build a statically linked executable
default: False
executable futun
main-is: futun.hs
other-modules: TunTap
build-depends: base ==4.5.*, unix, network, bytestring
extensions: CPP, ForeignFunctionInterface
ghc-options: -Wall
include-dirs: cbits
if os(linux)
c-sources: cbits/tuntap-linux.c
if os(darwin) || os(freebsd)
c-sources: cbits/tuntap-bsd.c
if flag(static)
ghc-options: -static
ld-options: -static -pthread