opam-version: "2.0" maintainer: "contact@coherentgraphics.co.uk" authors: ["John Whitington"] homepage: "http://github.com/johnwhitington/camlpdf" bug-reports: "http://github.com/johnwhitington/camlpdf/issues" dev-repo: "git+https://github.com/johnwhitington/camlpdf" build: [[make]] install: [[make "install"]] remove: [["ocamlfind" "remove" "camlpdf"]] depends: [ "ocaml" {< "4.10"} "ocamlfind" ] patches: "unsafe_string.patch" {ocaml:version >= "4.06"} synopsis: "Read, write and modify PDF files" flags: light-uninstall url { src: "https://github.com/johnwhitington/camlpdf/archive/v2.2.1.zip" checksum: [ "sha256=c8c878159e077f0289f810165b1ddca6f2ca4b0410dfe4ec8ef9e18b624a57f3" "md5=79d84ee6ae54357d187eff6e801e1549" ] } extra-source "unsafe_string.patch" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/camlpdf/unsafe_string.patch" checksum: [ "sha256=74a23c910c667a7d2d1ad0a7b534d503ae74361bd2e19f449db9f755bfc578c5" "md5=8db2be9fbd23c06a96cffca03af741b0" ] }