opam-version: "2.0"
maintainer: "Steve Bleazard <stevebleazard@googlemail.com>"
authors: "Steve Bleazard <stevebleazard@googlemail.com>"
homepage: "https://www.github.com/stevebleazard/ocaml-conf-netsnmp"
bug-reports: "https://www.github.com/stevebleazard/ocaml-conf-netsnmp/issues"
license: "MIT"
dev-repo: "git+https://www.github.com/stevebleazard/ocaml-conf-netsnmp.git"
depexts: [
  ["libsnmp-dev"] {os-family = "debian"}
  ["net-snmp-libs" "net-snmp-devel"] {os-distribution = "centos"}
  ["net-snmp-libs" "net-snmp-devel"] {os-distribution = "fedora"}
  ["libsnmp30" "net-snmp-devel"] {os-family = "suse"}
  ["net-snmp-libs" "net-snmp-dev"] {os-distribution = "alpine"}
  [] {os = "freebsd"}
  [] {os = "openbsd"}
]
build: [
  ["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include files/test.c"]
]

available: os != "macos"
synopsis: "Package relying on net-snmp libs"
description: """
Virtual package relying on net-snmp system libraries installation.
This package can only install if the net-snmp lib and development packages
are installed on the system."""
url {
  src:
    "https://www.github.com/stevebleazard/ocaml-conf-netsnmp/releases/download/v1.0.0/conf-netsnmp-1.0.0.tbz"
  checksum: "md5=b7182d9bed4e50b2c7fc94b4a1a303d3"
}
flags: conf
