3e19e847d3f68fb3ee3710c1eeb32734cda8ce28
[darcs-mirrors/primitive.git] / primitive.cabal
1 Name:           primitive
2 Version:        0.4.0.1
3 License:        BSD3
4 License-File:   LICENSE
5 Author:         Roman Leshchinskiy <rl@cse.unsw.edu.au>
6 Maintainer:     Roman Leshchinskiy <rl@cse.unsw.edu.au>
7 Copyright:      (c) Roman Leshchinskiy 2009-2010
8 Homepage:       http://code.haskell.org/primitive
9 Category:       Data
10 Synopsis:       Wrappers for primitive operations
11 Description:
12         .
13         This package provides wrappers for primitive array operations from
14         GHC.Prim.
15         .
16         Changes in version 0.4.0.1
17         .
18         * Critical bug fix in @fillByteArray@
19         .
20         Changes in version 0.4
21         .
22         * Support for GHC 7.2 array copying primitives
23         .
24         * New in "Data.Primitive.ByteArray": @copyByteArray@,
25           @copyMutableByteArray@, @moveByteArray@, @fillByteArray@
26         .
27         * Deprecated in "Data.Primitive.ByteArray": @memcpyByteArray@,
28           @memcpyByteArray'@, @memmoveByteArray@, @memsetByteArray@
29         .
30         * New in "Data.Primitive.Array": @copyArray@, @copyMutableByteArray@
31         .
32         * New in "Data.Primitive.Addr": @copyAddr@, @moveAddr@
33         .
34         * Deprecated in "Data.Primitive.Addr": @memcpyAddr@
35         .
36
37 Cabal-Version:  >= 1.2
38 Build-Type:     Simple
39
40 Library
41   Extensions: CPP
42   Exposed-Modules:
43         Control.Monad.Primitive
44         Data.Primitive
45         Data.Primitive.MachDeps
46         Data.Primitive.Types
47         Data.Primitive.Array
48         Data.Primitive.ByteArray
49         Data.Primitive.Addr
50
51   Other-Modules:
52         Data.Primitive.Internal.Compat
53
54   Build-Depends: base >= 4 && < 5, ghc-prim
55
56   Ghc-Options: -O2
57
58   Include-Dirs: cbits
59   Install-Includes: primitive-memops.h
60   includes: primitive-memops.h
61   c-sources: cbits/primitive-memops.c
62