Fix GMP v4 compatibility.
[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 category:       Numerical
7 maintainer:     libraries@haskell.org
8 bug-reports:    http://ghc.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29&keywords=integer-gmp
9 synopsis:       Integer library based on GMP
10 description:
11     This package provides the low-level implementation of the standard
12     'Integer' type based on the
13     <http://gmplib.org/ GNU Multiple Precision Arithmetic Library (GMP)>.
14     .
15     This package provides access to the internal representation of
16     'Integer' as well as primitive operations with no proper error
17     handling, and should only be used directly with the utmost care.
18     .
19     For more details about the design of @integer-gmp@, see
20     <https://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/Integer GHC Commentary: Libraries/Integer>.
21 build-type:     Configure
22 cabal-version:  >=1.10
23
24 extra-source-files:
25     aclocal.m4
26     cbits/alloc.c
27     cbits/float.c
28     cbits/gmp-wrappers.cmm
29     cbits/longlong.c
30     changelog.md
31     config.guess
32     config.sub
33     configure
34     configure.ac
35     gmp/config.mk.in
36     install-sh
37     integer-gmp.buildinfo.in
38     include/HsIntegerGmp.h.in
39
40 extra-tmp-files:
41     autom4te.cache
42     config.log
43     config.status
44     gmp/config.mk
45     integer-gmp.buildinfo
46     include/HsIntegerGmp.h
47
48 source-repository head
49     type:     git
50     location: http://git.haskell.org/packages/integer-gmp.git
51
52 source-repository this
53     type:     git
54     location: http://git.haskell.org/packages/integer-gmp.git
55     tag:      integer-gmp-0.5.1.0-release
56
57 Library
58     default-language: Haskell2010
59     other-extensions:
60         BangPatterns
61         CPP
62         GHCForeignImportPrim
63         MagicHash
64         NoImplicitPrelude
65         UnboxedTuples
66         UnliftedFFITypes
67
68     exposed-modules:
69         GHC.Integer
70         GHC.Integer.GMP.Internals
71         GHC.Integer.GMP.Prim
72         GHC.Integer.Logarithms
73         GHC.Integer.Logarithms.Internals
74     other-modules:
75         GHC.Integer.Type
76
77     c-sources: cbits/cbits.c
78     include-dirs: include
79
80     build-depends: ghc-prim >= 0.3.1 && < 0.4
81
82     -- We need to set the package name to integer-gmp
83     -- (without a version number) as it's magic.
84     ghc-options: -Wall -package-name integer-gmp