-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
49 lines (49 loc) · 1.57 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
48
49
opam-version: "2.0"
maintainer: "Christophe Troestler <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" "-configure" "--enable-tests"] {with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
["ocamlfind" "remove" "mindstorm"]
]
depends: [
"ocaml" {>= "3.12" & < "5.0.0"}
"base-bytes"
"base-threads" {with-test}
"base-unix"
"cppo" {build}
"ocamlbuild" {build}
"ocamlfind" {build & >= "1.5"}
]
depexts: [
["libbluetooth-dev"] {os-family = "debian"}
]
synopsis: "Drive Lego Mindstorms bricks from OCaml"
description: """
This library allows you to communicate with your Lego Mindstorms brick
via bluetooth, enable the motors and retrieve data from various
sensors."""
flags: light-uninstall
url {
src:
"https://github.com/Chris00/ocaml-mindstorm/releases/download/0.6.1/mindstorm-0.6.1.tar.gz"
checksum: [
"sha256=0ed6773a090542615d9afdc5e4d3eea9d10378209fe6e637a1d0326d9cf07b3f"
"md5=330bbf2a7d0de59e0bb6cd0be0b7ff35"
]
}