/
opam
55 lines (52 loc) · 1.72 KB
/
opam
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
opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
homepage: "http://erratique.ch/software/uuseg"
doc: "http://erratique.ch/software/uuseg"
dev-repo: "git+http://erratique.ch/repos/uuseg.git"
bug-reports: "https://github.com/dbuenzli/uuseg/issues"
tags: [ "segmentation" "text" "unicode" "org:erratique" ]
license: "BSD-3-Clause"
depends: [
"ocaml" {>= "4.01.0"}
"ocamlfind"
"uucp" {>= "1.0.0" & < "2.0.0"}
"ocamlbuild" {build}
]
depopts: [
"uutf"
"cmdliner"
"uutf" {with-test}
"cmdliner" {with-test}
]
conflicts: [
"uutf" {!= "0.9.4"}
]
build: ["ocaml" "pkg/git.ml"]
install: [
"ocaml"
"pkg/build.ml"
"native=%{ocaml:native}%"
"native-dynlink=%{ocaml:native-dynlink}%"
"uutf=%{uutf:installed}%"
"cmdliner=%{cmdliner:installed}%"
]
synopsis: "Unicode text segmentation for OCaml"
description: """
Uuseg is an OCaml library for segmenting Unicode text. It implements
the locale independent [Unicode text segmentation algorithms][1] to
detect grapheme cluster, word and sentence boundaries and the
[Unicode line breaking algorithm][2] to detect line break
opportunities.
The library is independent from any IO mechanism or Unicode text data
structure and it can process text without a complete in-memory
representation.
Uuseg depends on [Uucp](http://erratique.ch/software/uucp) and
optionally on [Uutf](http://erratique.ch/software/uutf) for support on
OCaml UTF-X encoded strings. It is distributed under the BSD3 license.
[1]: http://www.unicode.org/reports/tr29/
[2]: http://www.unicode.org/reports/tr14/"""
url {
src: "http://erratique.ch/software/uuseg/releases/uuseg-0.9.0.tbz"
checksum: "md5=186e52fcbd81e35514342dc3bfd10601"
}