-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
44 lines (43 loc) · 1.64 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
opam-version: "2.0"
maintainer: "Edgar Aroutiounian <edgar.factorial@gmail.com>"
authors: "Edgar Aroutiounian <edgar.factorial@gmail.com>"
homepage: "http://hyegar.com"
bug-reports: "https://github.com/fxfactorial/ocaml-maxminddb/issues"
license: "BSD-3-Clause"
tags: "clib:maxminddb"
dev-repo: "git+http://github.com/fxfactorial/ocaml-maxminddb.git"
build: [
["oasis" "setup"]
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["oasis" "setup"] {with-test}
["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "maxminddb"]
depends: [
"ocaml" {>= "4.02.3"}
"oasis" {build & >= "0.4"}
"ocamlfind" {build}
"conf-libmaxminddb"
]
synopsis: "Bindings to Maxmind.com's libmaxminddb library, like geoip2"
description: """
Maxminddb provides OCaml bindings to MaxMind's libmaxminddb C
library, libmaxminddb is the database powering GeoIP2. GeoIP2
provides geographical/geolocation information about ip addresses
like city of origin, country of origin and more. This library comes
with the the free GeoLite2 City and Country MaxMindDB files.
This product includes GeoLite2 data created by MaxMind, available
from <a href="http://www.maxmind.com">http://www.maxmind.com</a>."""
flags: light-uninstall
url {
src: "https://github.com/fxfactorial/ocaml-maxminddb/archive/v0.6.tar.gz"
checksum: [
"sha256=784736107f675f8c20ab9aa0af13445d01483610d5b36df36c51f75c0fe101ac"
"md5=04c05c3c324dc80f7cae0e6879d5a67c"
]
}