-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d572f7f
commit d0555bd
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
opam-version: "1.2" | ||
maintainer: "Edgar Aroutiounian <[email protected]>" | ||
authors: "Edgar Aroutiounian <[email protected]>" | ||
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")} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
http: "https://github.com/fxfactorial/ocaml-brotli/archive/v1.2.0.tar.gz" | ||
checksum: "f18cea7dcf2757ce48dcea72a88936d7" |