-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
47 lines (47 loc) · 1.35 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
opam-version: "2.0"
maintainer: "Christophe.Troestler@umons.ac.be"
authors: [ "Christophe Troestler"
"Julie De Pril"
"Marc Ducobu"
"Dany Maslowski" ]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "http://forge.ocamlcore.org/projects/ocaml-mindstorm/"
dev-repo: "git+https://github.com/Chris00/ocaml-mindstorm.git"
bug-reports: "https://github.com/Chris00/ocaml-mindstorm/issues"
tags: [ "clib:usb" "clib:bluetooth" ]
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-doc"] {with-doc}
]
remove: [
["ocamlfind" "remove" "mindstorm"]
]
depends: [
"ocaml" {< "4.05"}
"base-unix"
"ocamlfind"
"ocamlbuild" {build}
"camlp4"
]
depopts: [
"base-threads"
]
depexts: [
["libbluetooth-dev"] {os-family = "debian"}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "Drive Lego Mindstorm bricks from OCaml"
description: """
This library allows you to communicate with yout Lego Mindstorm brick
via bluetooth, enable the motors and retrieve the data from various
sensors."""
flags: light-uninstall
url {
src:
"https://github.com/Chris00/ocaml-mindstorm/releases/download/0.5.3/mindstorm-0.5.3.tar.gz"
checksum: [
"sha256=7c02d2fc7fd320a35ff045fec025c9caf3649fd4762599649c7ef77959c4b323"
"md5=1751ad556c6c9056c0d27dfe4ab221fc"
]
}