~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): Joachim Breitner, Marco Túlio Gontijo e Silva
  • Date: 2010-02-20 17:18:08 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100220171808-a6bumnml3ox5o63w
Tags: 0.5.4-1
[ Marco Túlio Gontijo e Silva ]
* New upstream version.
* debian/control: Use more sintetic name for Vcs-Darcs.
* debian/control: Change Priority: to extra.
* debian/watch: Use format that works for --download-current-version.
* debian/watch: Add .tar.gz to downloaded filename.
* debian/watch: Include package name in downloaded .tar.gz.
* debian/watch: Remove spaces, since they're not allowed by uscan.
* debian/control: Add field Provides: ${haskell:Provides} to -dev and
  -prof packages.
* Update Uploader e-mail.
* debian/control: Use Vcs-Browser: field.
* debian/control: Remove dependency in hscolour, since it's now a
  dependency of haskell-devscripts.
* debian/control: Remove haddock from Build-Depends:, since it's now a
  Depends: of haskell-devscripts.
* debian/control: Bump Standards-Version: to 3.8.4, no changes needed.
* debian/copyright: Use DEP-3 format.
* debian/control: Bump version of Build-Depends: on haskell-devscripts
  to 0.7 and remove versioned Build-Depends: on ghc6*.
* debian/control: Include missing haskell: variables.
* debian/control: Add Build-Depends: on HUnit, which was included in the
  new upstream version.
* Use debian/compat 7.
* debian/control: Use more sintetic link in Homepage:.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Name: mmap
2
 
Version: 0.4.1
 
2
Version: 0.5.4
3
3
Stability: alpha
4
4
License: BSD3
5
5
License-File: LICENSE
8
8
Maintainer: Gracjan Polak <gracjanpolak@gmail.com>
9
9
Synopsis: Memory mapped files for POSIX and Windows
10
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. 
 
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
15
    Modifications are also supported.
16
16
Cabal-version: >= 1.2
17
17
Category: System
18
18
Build-type: Simple
 
19
Extra-Source-Files: cbits/HsMmap.h
 
20
 
 
21
Flag mmaptest
 
22
  Description: Generate mmaptest executable
 
23
  Default: False
19
24
 
20
25
Library
21
26
  Build-depends: base<5, bytestring
22
27
  Extensions: ForeignFunctionInterface
23
28
  Exposed-modules: System.IO.MMap
24
29
  Hs-source-dirs: .
25
 
  CC-options: -Wall
26
 
  if os(mingw32)
27
 
      C-sources: cbits/win32.c
 
30
  Include-dirs: cbits
 
31
  if os(mingw32)
 
32
      C-sources: cbits/win32.c
 
33
  else
 
34
      C-sources: cbits/posix.c
 
35
 
 
36
Executable mmaptest
 
37
  Main-is: tests/mmaptest.hs
 
38
  if flag(mmaptest)
 
39
      Buildable: True
 
40
  else
 
41
      Buildable: False
 
42
  Build-depends: base<5, bytestring, HUnit, directory
 
43
  Extensions: ForeignFunctionInterface, ScopedTypeVariables, CPP
 
44
  Hs-source-dirs: .
 
45
  CC-options: -Wall -D_DEBUG
 
46
  Include-dirs: cbits
 
47
  if os(mingw32)
 
48
      cpp-options: -DWINDOWS
 
49
      C-sources: cbits/win32.c
 
50
      Build-depends: Win32
28
51
  else
29
52
      C-sources: cbits/posix.c
30
53