opam-version: "2.0"
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
authors: [ "Christophe Troestler"
           "Noémie Meunier"
           "Pierre Hauweele"]
tags: [ "SMS" "phone" "clib:gammu" ]
license: "LGPL-3.0-only with OCaml-LGPL-linking-exception"
homepage: "https://github.com/Chris00/ocaml-gammu"
dev-repo: "git+https://github.com/Chris00/ocaml-gammu.git"
bug-reports: "https://github.com/Chris00/ocaml-gammu/issues"
doc: "https://Chris00.github.io/ocaml-gammu/doc"
build: [
  ["jbuilder" "subst" "-p" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
  "ocaml" {>= "4.02.3"}
  "jbuilder" {>= "1.0+beta9"}
  "base" {build & < "v0.15"}
  "stdio" {build & < "v0.15"}
  "configurator" {build & < "v0.15"}
  "base-unix" {build & with-test}
  "conf-pkg-config" {build}
]
depexts: [
  ["libgammu-dev"] {os-family = "debian"}
  ["epel-release" "gammu-devel"] {os-distribution = "centos"}
  ["gammu-devel"] {os-distribution = "fedora"}
  ["lib64gammu-devel"] {os-distribution = "mageia"}
  ["gammu-devel"] {os-family = "suse"}
  ["gammu-dev"] {os-distribution = "alpine"}
  ["gammu"] {os = "macos" & os-distribution = "homebrew"}
]
synopsis: "Cell phone and SIM card access"
description: """
Gammu is a binding to libGammu which allows to manage data in your
cell phone such as contacts, calendar or messages."""
url {
  src:
    "https://github.com/Chris00/ocaml-gammu/releases/download/0.9.4/gammu-0.9.4.tbz"
  checksum: "md5=be9b2602e8d67cbad66fe71d1502fc3b"
}
