/
opam
33 lines (33 loc) · 1.03 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
opam-version: "2.0"
maintainer: "blue-prawn"
authors: ["Xavier Leroy"]
homepage: "https://github.com/xavierleroy/ocamlagrep/"
bug-reports: "https://github.com/xavierleroy/ocamlagrep/issues"
dev-repo: "git+https://github.com/xavierleroy/ocamlagrep.git"
license: "LGPL-2.0-or-later"
build: make
remove: [["ocamlfind" "remove" "agrep"]]
depends: [
"ocaml" {< "4.06.0"}
"ocamlfind"
]
patches: ["find-install.patch"]
install: [
[make "find-install"]
[make "find-install" "LIB_EXT=dll"] {os = "win32" | os = "cygwin"}
]
synopsis: "String searching with errors"
description: """
This library implements the Wu-Manber algorithm for string searching
with errors, popularized by the "agrep" Unix command and the "glimpse"
file indexing tool."""
flags: light-uninstall
extra-files: [
["find-install.patch" "md5=6227abe42030ada662523c49d5042e46"]
["META" "md5=9f6b50bcda32bcb5eb6845880a7471a9"]
]
url {
src:
"https://download.ocamlcore.org/ocamlagrep/ocamlagrep/OCamlAgrep1.0/ocamlagrep-1.0.tar.gz"
checksum: "md5=39cd65a26a0976fbe046db6b441f49b1"
}