memcpy for mutable byte arrays
[darcs-mirrors/primitive.git] / primitive.cabal
1 Name:           primitive
2 Version:        0.3
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-10
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
17 Cabal-Version:  >= 1.2
18 Build-Type:     Simple
19
20 Library
21   Exposed-Modules:
22         Control.Monad.Primitive
23         Data.Primitive
24         Data.Primitive.MachDeps
25         Data.Primitive.Types
26         Data.Primitive.Array
27         Data.Primitive.ByteArray
28         Data.Primitive.Addr
29
30   Build-Depends: base >= 2 && < 5, ghc-prim
31
32   Ghc-Options: -O2
33
34   Include-Dirs: cbits
35   Install-Includes: memops.h
36   includes: memops.h
37   c-sources: cbits/memops.c
38