Add comment
[darcs-mirrors/primitive.git] / primitive.cabal
1 Name:           primitive
2 Version:        0.4
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
17         .
18         * Support for GHC 7.2 array copying primitives
19         .
20         * New in @Data.Primitive.ByteArray@: @copyByteArray@,
21           @copyMutableByteArray@, @moveByteArray@, @fillByteArray@
22         .
23         * Deprecated in @Data.Primitive.ByteArray@: @memcpyByteArray@,
24           @memcpyByteArray'@, @memmoveByteArray@, @memsetByteArray@
25         .
26         * New in @Data.Primitive.Array@: @copyArray@, @copyMutableByteArray@
27         .
28
29 Cabal-Version:  >= 1.2
30 Build-Type:     Simple
31
32 Library
33   Extensions: CPP
34   Exposed-Modules:
35         Control.Monad.Primitive
36         Data.Primitive
37         Data.Primitive.MachDeps
38         Data.Primitive.Types
39         Data.Primitive.Array
40         Data.Primitive.ByteArray
41         Data.Primitive.Addr
42
43   Other-Modules:
44         Data.Primitive.Internal.Compat
45
46   Build-Depends: base >= 4 && < 5, ghc-prim
47
48   Ghc-Options: -O2
49
50   Include-Dirs: cbits
51   Install-Includes: primitive-memops.h
52   includes: primitive-memops.h
53   c-sources: cbits/primitive-memops.c
54