this repo has no description
1opam-version: "2.0"
2maintainer: "ygrek@autistici.org"
3authors: "ygrek"
4homepage: "https://ygrek.org/p/ocaml-geoip/"
5doc: ["https://ygrek.org/p/ocaml-geoip/api/index.html"]
6bug-reports: "https://github.com/ygrek/ocaml-geoip/issues"
7dev-repo: "git+https://github.com/ygrek/ocaml-geoip.git"
8tags: ["org:ygrek"]
9build: [
10 ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
11 ["ocaml" "setup.ml" "-build"]
12 ["ocaml" "setup.ml" "-doc"] {with-doc}
13]
14remove: [["ocamlfind" "remove" "geoip"]]
15depends: [
16 "ocaml" {< "5.0"}
17 "ocamlfind" {build}
18 "ocamlbuild" {build}
19]
20depexts: [
21 ["libgeoip-dev"] {os-family = "debian"}
22 ["geoip"] {os = "macos" & os-distribution = "homebrew"}
23 ["geoip-dev"] {os-distribution = "alpine"}
24 ["GeoIP-devel"] {os-distribution = "centos"}
25]
26install: ["ocaml" "setup.ml" "-install"]
27synopsis: "Bindings to GeoIP database library."
28description:
29 "GeoIP lets you discover information about a specific IP address."
30flags: light-uninstall
31url {
32 src: "https://ygrek.org/p/release/ocaml-geoip/ocaml-geoip-0.0.3.tar.gz"
33 checksum: [
34 "sha256=26410811b1b6adb35dda9aff1919a66720c1712dc18ca7846d1ce55610b5d91a"
35 "md5=470df2ff7952d36fe58cf23082cdfcae"
36 ]
37 mirrors:
38 "https://github.com/ygrek/ocaml-geoip/releases/download/v0.0.3/ocaml-geoip-0.0.3.tar.gz"
39}