Skip to content
This repository
Browse code

Use includes & extra-libraries directive in cabal file.

Also add test/ to cabal sdist.
  • Loading branch information...
commit e7c042e2e14526ebe29c595f77c4e05ab84e8fda 1 parent 0ab544a
Toralf Wittner authored January 23, 2010

Showing 1 changed file with 7 additions and 4 deletions. Show diff stats Hide diff stats

  1. 11  zeromq-haskell.cabal
11  zeromq-haskell.cabal
... ...
@@ -1,8 +1,8 @@
1 1
 name:               zeromq-haskell
2  
-version:            0.1
  2
+version:            0.1.1
3 3
 synopsis:           bindings to zeromq 
4 4
 description:        Bindings to zeromq (http://zeromq.org)
5  
-category:           System
  5
+category:           System, FFI
6 6
 license:            LGPL
7 7
 license-file:       LICENSE
8 8
 author:             Toralf Wittner
@@ -13,17 +13,20 @@ stability:          experimental
13 13
 tested-With:        GHC == 6.12.1
14 14
 cabal-version:      >= 1.6.0
15 15
 build-type:         Simple
16  
-extra-source-files: README
  16
+extra-source-files: README, test/*.hs, test/perf/*.hs
17 17
 
18 18
 library
19 19
   exposed-modules:  System.ZMQ
20 20
   other-modules:    System.ZMQ.Base
21 21
   ghc-options:      -Wall -O2
22 22
   extensions:       CPP,
23  
-                    ForeignFunctionInterface
  23
+                    ForeignFunctionInterface,
  24
+                    ExistentialQuantification
24 25
   build-depends:    base >= 3 && < 5,
25 26
                     unix,
26 27
                     containers,
27 28
                     bytestring
28 29
   hs-source-dirs:   src
  30
+  includes:         zmq.h
  31
+  extra-libraries:  zmq
29 32
 

0 notes on commit e7c042e

Please sign in to comment.
Something went wrong with that request. Please try again.