Fix build when gmp isn't installed
[packages/integer-gmp.git] / integer-gmp.cabal
1 name:           integer-gmp
2 version:        0.5.1.0
3 -- GHC 7.6.1 released with 0.5.0.0
4 license:        BSD3
5 license-file:   LICENSE
6 maintainer:     libraries@haskell.org
7 bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29
8 synopsis:       Integer library based on GMP
9 description:
10     This package contains an Integer library based on GMP.
11 cabal-version:  >=1.6
12 build-type: Configure
13
14 extra-source-files:
15   cbits/float.c
16   cbits/alloc.c
17   cbits/longlong.c
18
19 source-repository head
20     type:     git
21     location: http://darcs.haskell.org/packages/integer-gmp.git/
22
23 Library {
24     build-depends: ghc-prim
25     exposed-modules: GHC.Integer
26                      GHC.Integer.GMP.Internals
27                      GHC.Integer.GMP.Prim
28                      GHC.Integer.Logarithms
29                      GHC.Integer.Logarithms.Internals
30     other-modules: GHC.Integer.Type
31     extensions: CPP, MagicHash, UnboxedTuples, NoImplicitPrelude,
32                 ForeignFunctionInterface, UnliftedFFITypes
33     c-sources: cbits/cbits.c
34     -- We need to set the package name to integer-gmp
35     -- (without a version number) as it's magic.
36     ghc-options: -package-name integer-gmp
37 }