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