~ubuntu-branches/ubuntu/trusty/haskell-mmap/trusty

« back to all changes in this revision

Viewing changes to mmap.cabal

  • Committer: Bazaar Package Importer
  • Author(s): Marco Túlio Gontijo e Silva
  • Date: 2009-07-17 10:16:51 UTC
  • Revision ID: james.westby@ubuntu.com-20090717101651-h7uetsxv03de5tq3
Tags: upstream-0.4.1
Import upstream version 0.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Name: mmap
 
2
Version: 0.4.1
 
3
Stability: alpha
 
4
License: BSD3
 
5
License-File: LICENSE
 
6
Copyright: 2008, Gracjan Polak
 
7
Author: Gracjan Polak <gracjanpolak@gmail.com>
 
8
Maintainer: Gracjan Polak <gracjanpolak@gmail.com>
 
9
Synopsis: Memory mapped files for POSIX and Windows
 
10
Description:
 
11
    This library provides a wrapper to mmap(2) or MapViewOfFile, 
 
12
    allowing files or devices to be lazily loaded into memory as 
 
13
    strict or lazy ByteStrings, ForeignPtrs or plain Ptrs, using 
 
14
    the virtual memory subsystem to do on-demand loading. 
 
15
    Modifications are also supported.
 
16
Cabal-version: >= 1.2
 
17
Category: System
 
18
Build-type: Simple
 
19
 
 
20
Library
 
21
  Build-depends: base<5, bytestring
 
22
  Extensions: ForeignFunctionInterface
 
23
  Exposed-modules: System.IO.MMap
 
24
  Hs-source-dirs: .
 
25
  CC-options: -Wall
 
26
  if os(mingw32)
 
27
      C-sources: cbits/win32.c
 
28
  else
 
29
      C-sources: cbits/posix.c
 
30