-
Notifications
You must be signed in to change notification settings - Fork 4
/
_oasis
120 lines (103 loc) · 3.34 KB
/
_oasis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# +-------------------------------------------------------------------+
# | Package parameters |
# +-------------------------------------------------------------------+
OASISFormat: 0.4
Name: ocaml-text
Version: 0.7
LicenseFile: LICENSE
License: BSD-3-clause
Authors: Jérémie Dimino
Homepage: http://ocaml-text.forge.ocamlcore.org/
BuildTools: ocamlbuild
Plugins: META (0.4), DevFiles (0.4)
Synopsis: ocaml-text
AlphaFeatures: compiled_setup_ml
Description:
OCaml-Text is an OCaml library for dealing with "text",
i.e. sequences of unicode characters, in a convenient way.
# +-------------------------------------------------------------------+
# | Flags |
# +-------------------------------------------------------------------+
Flag pcre
Description: support for pcre
Default: false
Flag camlp4
Description: support for camlp4
Default: false
# +-------------------------------------------------------------------+
# | Libraries |
# +-------------------------------------------------------------------+
Library text
Path: src
Install: true
BuildDepends: bytes
Modules: Text, Encoding
CSources: ml_text.c, common.h
Library "bigarray"
Path: src
Install: true
FindlibParent: text
BuildDepends: text, bigarray
Modules: Encoding_bigarray
CSources: ml_text_bigarray.c, common.h
Library "pcre"
Path: src
FindlibParent: text
Build$: flag(pcre)
Install$: flag(pcre)
Modules: Text_pcre
BuildDepends: text, pcre
Library "pcre-syntax"
Path: syntax
FindlibParent: text
Build$: flag(pcre) && flag(camlp4)
Install$: flag(pcre) && flag(camlp4)
InternalModules:
Pa_text_main,
Pa_text_parse,
Pa_text_regexp,
Pa_text_env,
Pa_text_types,
Pa_text_util
BuildDepends: text, camlp4, camlp4.quotations.o, camlp4.extend
XMETAType: syntax
XMETADescription: Syntax extension for writing human readable regexps in OCaml sources
XMETARequires: camlp4, text
# +-------------------------------------------------------------------+
# | Doc |
# +-------------------------------------------------------------------+
Document "manual"
Title: OCamlText user manual
Type: custom (0.4)
Install: false
XCustom: make -C manual manual.pdf
DataFiles: manual/manual.pdf
InstallDir: $pdfdir
Document "api"
Title: API reference for OCamlText
Type: ocamlbuild (0.4)
Install: false
InstallDir: $htmldir/api
DataFiles: style.css
BuildTools: ocamldoc
XOCamlbuildPath: ./
XOCamlbuildLibraries: text
# +-------------------------------------------------------------------+
# | Tests |
# +-------------------------------------------------------------------+
Executable test
Path: tests
Install: false
CompiledObject: best
MainIs: test.ml
BuildDepends: text
Test main
Command: $test
TestTools: test
# +-------------------------------------------------------------------+
# | Misc |
# +-------------------------------------------------------------------+
SourceRepository head
Type: git
Location: git://github.com/vbmithr/ocaml-text
Browser: http://github.com/vbmithr/ocaml-text