Changeset 19956 for third-party

Show
Ignore:
Timestamp:
02/20/08 17:15:24 (9 months ago)
Author:
gwern
Message:

This patch updates pugs-hsregex; it should work with both 6.6 and 6.8.2. However, backwards compatibility requires Cabal versions equal to or greater than 1.2 (so you can use the conditional syntax to change build-dependencies on base).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • third-party/hsregex/pugs-hsregex.cabal

    r16500 r19956  
    1 Name:    pugs-hsregex 
    2 Version: 1.0 
    3 License: BSD3 
    4 Author: John Meacham 
    5 Homepage: http://repetae.net/john/computer/haskell/hsregex/ 
    6 Category: Text 
    7 Build-Depends: base, haskell98 
    8 Exposed-modules: RRegex, RRegex.Syntax, RRegex.PCRE 
    9 c-sources: pcre/chartables.c pcre/get.c pcre/pcre.c pcre/pcreposix.c pcre/study.c 
     1Name:          pugs-hsregex 
     2Version:       1.0 
     3License:       BSD3 
     4License-File:  LICENSE 
     5Author:        John Meacham <john@repetae.net> 
     6Maintainer:    Pugs project <http://www.pugscode.org/> 
     7Homepage:      http://repetae.net/john/computer/haskell/hsregex/ 
     8Category:      Text 
     9Synopsis:      Haskell PCRE binding 
     10Description:   A binding to Perl's advanced regular expression library, PCRE, for Haskell programs; 
     11               this library is used by the Pugs interpreter/compiler. 
     12 
     13Build-Type:    Simple 
     14cabal-version: >= 1.2 
     15Tested-With:   GHC==6.8.2 
     16 
    1017extra-source-files:  pcre/config.h pcre/get.c pcre/internal.h pcre/pcre.h pcre/pcreposix.h pcre/printint.c pcre/ucp.c pcre/ucp.h pcre/ucpinternal.h pcre/ucptable.c pcre/ucptypetable.c 
     18 
     19flag small_base 
     20    description: Choose the new smaller, split-up base package. 
     21 
     22Library 
     23        if flag(small_base) 
     24            Build-Depends: base, haskell98, array 
     25        else 
     26            Build-Depends: base < 3, haskell98 
     27 
     28        Exposed-modules: RRegex, RRegex.Syntax, RRegex.PCRE 
     29        c-sources:     pcre/chartables.c pcre/get.c pcre/pcre.c pcre/pcreposix.c pcre/study.c 
     30 
     31        GHC-Options:   -Wall -O2