opam-version: "2.0"
authors: ["David Scott" "Jonathan Ludlam"]
homepage: "https://github.com/djs55/vhd-tool"
bug-reports: "https://github.com/djs55/vhd-tool/issues"
dev-repo: "git://github.com/djs55/vhd-tool"
maintainer: "dave.scott@eu.citrix.com"
tags: [
  "org:mirage"
  "org:xapi-project"
]
build: [
  ["./configure" "--bindir=%{bin}%"]
  [make]
]
remove: [
  ["rm" "-f" "%{bin}%/vhd-tool"]
  ["rm" "-f" "%{bin}%/sparse_dd"]
  ["rm" "-f" "%{etc}%/sparse_dd.conf"]
]
depends: [
  "ocaml" {>= "4.00.0"}
  "ocamlfind"
  "lwt" {>= "2.4.3"}
  "cstruct" {>= "0.7.1"}
  "vhd-format" {>= "0.6.4" & < "0.7.0"}
  "uuidm"
  "cmdliner"
  "obuild"
  "nbd" {>= "0.9.2" & < "1.0.0"}
  "ounit"
  "uri"
  "tar-format" {> "0.2" & < "0.3.0"}
  "sha"
  "cohttp" {= "0.9.13"}
  "ssl"
]
install: [make "install"]
synopsis:
  "A command-line tool to manipulate, transcode and stream .vhd format data."
description: """
This tool currently allows you to:
* extract data from a vhd tree
* upload vhd-formatted data to a XenServer host"""
flags: light-uninstall
url {
  src: "https://github.com/djs55/vhd-tool/archive/0.6.5.tar.gz"
  checksum: "md5=52e512eec2c96c90e1b5da1a604cabf4"
}
