-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
39 lines (39 loc) · 1.26 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
opam-version: "2.0"
maintainer: "ygrek@autistici.org"
authors: "ygrek"
homepage: "https://ygrek.org/p/ocaml-geoip/"
doc: ["https://ygrek.org/p/ocaml-geoip/api/index.html"]
bug-reports: "https://github.com/ygrek/ocaml-geoip/issues"
dev-repo: "git+https://github.com/ygrek/ocaml-geoip.git"
tags: ["org:ygrek"]
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-doc"] {with-doc}
]
remove: [["ocamlfind" "remove" "geoip"]]
depends: [
"ocaml" {< "4.06.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
]
depexts: [
["libgeoip-dev"] {os-family = "debian"}
["geoip"] {os = "macos" & os-distribution = "homebrew"}
["geoip-dev"] {os-distribution = "alpine"}
["GeoIP-devel"] {os-distribution = "centos"}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "Bindings to GeoIP database library."
description:
"GeoIP lets you discover information about a specific IP address."
flags: light-uninstall
url {
src: "https://ygrek.org/p/release/ocaml-geoip/ocaml-geoip-0.0.2.tar.gz"
checksum: [
"sha256=197e6f52dae15f6fbcdd5947652ba728499ef223c53ff7ecab5c884760586df7"
"md5=baae04937a9d0fd02cc531b600a080b2"
]
mirrors:
"https://github.com/ygrek/ocaml-geoip/releases/download/v0.0.2/ocaml-geoip-0.0.2.tar.gz"
}