diff --git a/packages/conf-zmq-android.0.1/descr b/packages/conf-zmq-android.0.1/descr new file mode 100644 index 0000000..9305455 --- /dev/null +++ b/packages/conf-zmq-android.0.1/descr @@ -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. diff --git a/packages/conf-zmq-android.0.1/files/test.c b/packages/conf-zmq-android.0.1/files/test.c new file mode 100644 index 0000000..fc4e31b --- /dev/null +++ b/packages/conf-zmq-android.0.1/files/test.c @@ -0,0 +1,7 @@ +#include + +// compile with: gcc test.c -lzmq + +int main () { + return 0; +} diff --git a/packages/conf-zmq-android.0.1/opam b/packages/conf-zmq-android.0.1/opam new file mode 100644 index 0000000..b7d0528 --- /dev/null +++ b/packages/conf-zmq-android.0.1/opam @@ -0,0 +1,7 @@ +opam-version: "1" +maintainer: "francois.berenger@inria.fr" +homepage: "http://zeromq.org/" +license: "LGPL" +build: [ + ["ocamlfind" "-toolchain" "android" "ocamlc" "test.c" "-cclib" "-lzmq"] +] diff --git a/packages/ppx_deriving_protobuf-android.2.5/opam b/packages/ppx_deriving_protobuf-android.2.5/opam new file mode 100644 index 0000000..1ed6afa --- /dev/null +++ b/packages/ppx_deriving_protobuf-android.2.5/opam @@ -0,0 +1,30 @@ +opam-version: "1.2" +maintainer: "whitequark " +authors: [ "whitequark " ] +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} +] diff --git a/packages/ppx_deriving_protobuf-android.2.5/url b/packages/ppx_deriving_protobuf-android.2.5/url new file mode 100644 index 0000000..d458519 --- /dev/null +++ b/packages/ppx_deriving_protobuf-android.2.5/url @@ -0,0 +1,3 @@ +http: + "https://github.com/whitequark/ppx_deriving_protobuf/archive/v2.5.tar.gz" +checksum: "2e3ba97f2354ba51cb470f899e3ccc25" diff --git a/packages/stdint-android.0.3.0/opam b/packages/stdint-android.0.3.0/opam new file mode 100644 index 0000000..41bb92e --- /dev/null +++ b/packages/stdint-android.0.3.0/opam @@ -0,0 +1,26 @@ +opam-version: "1.2" +maintainer: "Markus W. Weissmann " +authors: [ + "Andre Nathan " + "Jeff Shaw " + "Markus W. Weissmann " + "Florian Pichlmeier " +] +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} +] diff --git a/packages/stdint-android.0.3.0/url b/packages/stdint-android.0.3.0/url new file mode 100644 index 0000000..a19d180 --- /dev/null +++ b/packages/stdint-android.0.3.0/url @@ -0,0 +1,2 @@ +archive: "https://github.com/andrenth/ocaml-stdint/archive/0.3.0.tar.gz" +checksum: "1f9fa21baf9c0df490a841a6e916963a" diff --git a/packages/zmq-android.4.0-8/opam b/packages/zmq-android.4.0-8/opam new file mode 100644 index 0000000..0edec09 --- /dev/null +++ b/packages/zmq-android.4.0-8/opam @@ -0,0 +1,26 @@ +opam-version: "1.2" +maintainer: "anders@fugmann.net" +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" + "stdint-android" + "ocamlbuild" {build} +] +conflicts: [ + "ocaml-zmq" +] diff --git a/packages/zmq-android.4.0-8/url b/packages/zmq-android.4.0-8/url new file mode 100644 index 0000000..4511f28 --- /dev/null +++ b/packages/zmq-android.4.0-8/url @@ -0,0 +1,2 @@ +archive: "https://github.com/issuu/ocaml-zmq/archive/4.0-8.tar.gz" +checksum: "dd0d5a27942bf8f86666ad783124cb23"