diff --git a/packages/brotli/brotli.1.2.0/descr b/packages/brotli/brotli.1.2.0/descr new file mode 100644 index 000000000000..a16a132e1a53 --- /dev/null +++ b/packages/brotli/brotli.1.2.0/descr @@ -0,0 +1,5 @@ +Bindings to Google's Brotli compresion algorithm + +OCaml Bindings to brotli, Google's compression algorithm for the web +Source: https://github.com/google/brotli/ RFC: +http://www.ietf.org/id/draft-alakuijala-brotli diff --git a/packages/brotli/brotli.1.2.0/opam b/packages/brotli/brotli.1.2.0/opam new file mode 100644 index 000000000000..d7bf796cbf41 --- /dev/null +++ b/packages/brotli/brotli.1.2.0/opam @@ -0,0 +1,38 @@ +opam-version: "1.2" +maintainer: "Edgar Aroutiounian " +authors: "Edgar Aroutiounian " +homepage: "http://hyegar.com" +bug-reports: "https://github.com/fxfactorial/ocaml-brotli/issues" +license: "BSD-3-clause" +tags: ["clib:stdc" "clib:brotli"] +dev-repo: "https://github.com/fxfactorial/ocaml-brotli.git" +build: [ + ["oasis" "setup" "-setup-update" "dynamic"] + ["ocaml" "setup.ml" "-configure" "--prefix" prefix] + ["ocaml" "setup.ml" "-build"] +] +install: ["ocaml" "setup.ml" "-install"] +build-test: [ + ["ocaml" "setup.ml" "-configure" "--enable-tests"] + ["ocaml" "setup.ml" "-build"] + ["ocaml" "setup.ml" "-test"] +] +build-doc: ["ocaml" "setup.ml" "-doc"] +remove: ["ocamlfind" "remove" "brotli"] +depends: [ + "oasis" {build} + "ocamlfind" {build} + "ocamlbuild" {build} +] +depexts: [ + [["debian"] ["clang" "libc++-dev"]] + [["ubuntu"] ["clang" "libc++-dev"]] +] +available: [ocaml-version >= "4.03.0"] +messages: [ + "Note, you'll need to have libbrotli installed: https://github.com/bagder/libbrotli" +] +post-messages: [ +"Make sure you had libbrotli installed, get it at:https://github.com/bagder/libbrotli" {failure & (os = "osx")} +"Make sure you have clang++ available" {failure & (os != "osx")} +] diff --git a/packages/brotli/brotli.1.2.0/url b/packages/brotli/brotli.1.2.0/url new file mode 100644 index 000000000000..6db083fa1e05 --- /dev/null +++ b/packages/brotli/brotli.1.2.0/url @@ -0,0 +1,2 @@ +http: "https://github.com/fxfactorial/ocaml-brotli/archive/v1.2.0.tar.gz" +checksum: "f18cea7dcf2757ce48dcea72a88936d7"