-
Notifications
You must be signed in to change notification settings - Fork 15
stdint and zmq packages #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
4cb9823
c6788a7
8bdbdf0
79401f3
0a90bc0
5418301
7c16ba8
d683d1c
d6e9652
13ff3d7
fc175a2
d8d2dd0
c0fb261
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Virtual package relying on zmq library installation. | ||
This package can only install if the zmq devel library is installed | ||
on the system. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <zmq.h> | ||
|
||
// compile with: gcc test.c -lzmq | ||
|
||
int main () { | ||
return 0; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
opam-version: "1" | ||
maintainer: "[email protected]" | ||
homepage: "http://zeromq.org/" | ||
license: "LGPL" | ||
build: [ | ||
["ocamlfind" "-toolchain" "android" "ocamlc" "test.c" "-cclib" "-lzmq"] | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
opam-version: "1.2" | ||
maintainer: "whitequark <[email protected]>" | ||
authors: [ "whitequark <[email protected]>" ] | ||
license: "MIT" | ||
homepage: "https://github.com/whitequark/ppx_deriving_protobuf" | ||
doc: "https://whitequark.github.io/ppx_deriving_protobuf" | ||
bug-reports: "https://github.com/whitequark/ppx_deriving_protobuf/issues" | ||
dev-repo: "https://github.com/whitequark/ppx_deriving_protobuf.git" | ||
tags: [ "syntax" ] | ||
substs: [ "pkg/META" ] | ||
build: ["ocaml" "pkg/build.ml" "native=%{ocaml-native}%" | ||
"native-dynlink=%{ocaml-native-dynlink}%" | ||
] | ||
build-test: [ | ||
"ocamlbuild" "-classic-display" "-use-ocamlfind" "src_test/test_ppx_protobuf.byte" "--" | ||
] | ||
|
||
build-doc: [ | ||
make "doc" | ||
] | ||
install: [["opam" "installer" "--prefix=%{prefix}%/android-sysroot" "ppx_deriving_protobuf.install"]] | ||
remove: [["ocamlfind" "-toolchain" "android" "remove" "ppx_deriving_protobuf"]] | ||
depends: [ | ||
"ocaml-android" | ||
"ocamlbuild" {build} | ||
"cppo" {build} | ||
"ppx_deriving-android" {>= "3.2" & < "5.0"} | ||
"ounit" {test} | ||
"uint" {test} | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
http: | ||
"https://github.com/whitequark/ppx_deriving_protobuf/archive/v2.5.tar.gz" | ||
checksum: "2e3ba97f2354ba51cb470f899e3ccc25" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
opam-version: "1.2" | ||
maintainer: "Markus W. Weissmann <[email protected]>" | ||
authors: [ | ||
"Andre Nathan <[email protected]>" | ||
"Jeff Shaw <[email protected]>" | ||
"Markus W. Weissmann <[email protected]>" | ||
"Florian Pichlmeier <[email protected]>" | ||
] | ||
license: "MIT" | ||
homepage: "https://github.com/andrenth/ocaml-stdint" | ||
doc: "http://stdint.forge.ocamlcore.org/doc/" | ||
dev-repo: "https://github.com/andrenth/ocaml-stdint.git" | ||
bug-reports: "https://github.com/andrenth/ocaml-stdint/issues" | ||
build: [ | ||
["ocaml" "setup.ml" "-configure" "--prefix" "%{prefix}%/android-sysroot"] | ||
["env" "OCAMLFIND_TOOLCHAIN=android" "ocaml" "setup.ml" "-build"] | ||
] | ||
install: [ | ||
["env" "OCAMLFIND_TOOLCHAIN=android" "ocaml" "setup.ml" "-install"] | ||
] | ||
remove: [["ocamlfind" "-toolchain" "android" "remove" "stdint"]] | ||
build-doc: [ "ocaml" "setup.ml" "-doc" ] | ||
depends: [ | ||
"ocaml-android" | ||
"ocamlbuild" {build} | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/andrenth/ocaml-stdint/archive/0.3.0.tar.gz" | ||
checksum: "1f9fa21baf9c0df490a841a6e916963a" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
opam-version: "1.2" | ||
maintainer: "[email protected]" | ||
homepage: "https://github.com/issuu/ocaml-zmq" | ||
authors: [ "Anders Fugman" "Pedro Borges" "Peter Zotov" ] | ||
license: "MIT" | ||
dev-repo: "https://github.com/issuu/ocaml-zmq.git" | ||
bug-reports: "https://github.com/issuu/ocaml-zmq/issues" | ||
build: [ | ||
["env" "OCAMLFIND_TOOLCHAIN=android" "ocaml" "setup.ml" "-configure" "--prefix" "%{prefix}%/android-sysroot"] | ||
["env" "OCAMLFIND_TOOLCHAIN=android" "ocaml" "setup.ml" "-build"] | ||
] | ||
install: [ | ||
["env" "OCAMLFIND_TOOLCHAIN=android" "ocaml" "setup.ml" "-install"] | ||
] | ||
remove: [ | ||
["ocamlfind" "-toolchain" "android" "remove" "ZMQ"] | ||
] | ||
depends: [ | ||
"ocaml-android" | ||
"conf-zmq-android" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of this dependency, you should add a depext for the zmq package in MXE There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is MXE means http://mxe.cc/ ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, MXE is not relevant, forget this part. |
||
"stdint-android" | ||
"ocamlbuild" {build} | ||
] | ||
conflicts: [ | ||
"ocaml-zmq" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see a reason for this conflict There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm steal this opam file from author of package, and just modified related part's. This line written by author of zmq. |
||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/issuu/ocaml-zmq/archive/4.0-8.tar.gz" | ||
checksum: "dd0d5a27942bf8f86666ad783124cb23" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not use virtual packages for native dependencies in cross-toolchains