opam-version: "2.0" maintainer: "Edgar Aroutiounian " authors: "Edgar Aroutiounian " 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 http://www.maxmind.com.""" flags: light-uninstall url { src: "https://github.com/fxfactorial/ocaml-maxminddb/archive/v0.4.tar.gz" checksum: [ "sha256=f353a1e158d986ce2635caac8b162fb5a5a01063431f7f29dd3e14410af71aa5" "md5=d6c0f201ab33afd0d494d914ed5b8f1e" ] }