Skip to content

Commit

Permalink
Prepare OPAM release.
Browse files Browse the repository at this point in the history
  • Loading branch information
didier-wenzek committed Sep 21, 2017
1 parent f660a66 commit 5e272a9
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Usage

```ocaml
#use "topfind";;
#require "okafka";;
#require "kafka";;
(* Prepare a producer handler. *)
let producer = Kafka.new_producer ["metadata.broker.list","localhost:9092"];;
Expand Down
3 changes: 3 additions & 0 deletions kafka.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
OCaml bindings for Kafka

Kafka is a high-throughput distributed messaging system.
27 changes: 17 additions & 10 deletions kafka.opam
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
opam-version: "1.2"
version: "0.3.0"
name: "okafka"
synopsis: "OCaml bindings for Kafka"
maintainer: "Didier Wenzek <didier.wenzek@acidalie.com>"
authors: ["Didier Wenzek <didier.wenzek@acidalie.com>"]
homepage: "https://github.com/didier-wenzek/ocaml-kafka"
bug-reports: "https://github.com/didier-wenzek/ocaml-kafka/issues"
dev-repo: "https://github.com/didier-wenzek/ocaml-kafka"
license: "GPL"
build: [
["jbuilder" "build" "--only" "okafka" "--root" "." "-j" jobs "@install"]
dev-repo: "https://github.com/didier-wenzek/ocaml-kafka.git"
license: "MIT"
build: [ ["jbuilder" "build" "-p" "kafka" "." "-j" jobs "@install"] ]
#build-test: [ "jbuilder" "runtest" "-p" name ]
depends: [
"jbuilder" {build}
]
depopts: [
"lwt"
]
depexts: [
[[ "ubuntu"] ["librdkafka-dev"]]
[[ "debian"] ["librdkafka-dev"]]
[[ "alpine"] ["librdkafka-dev"]]
[[ "centos"] ["librdkafka-devel"]]
[[ "fedora"] ["librdkafka-devel"]]
[[ "osx" "homebrew"] ["librdkafka"]]
]
install: [make "install"]
remove: [make "uninstall"]
depends: ["jbuilder"]
1 change: 1 addition & 0 deletions lib_lwt/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
(library
((name kafka_lwt)
(public_name kafka.lwt)
(optional)
(libraries (kafka lwt.unix))
(c_names (ocaml_lwt_kafka))
(c_library_flags (-lrdkafka -lpthread -lz))))

0 comments on commit 5e272a9

Please sign in to comment.