-
Notifications
You must be signed in to change notification settings - Fork 2
/
WiringPi.opam
38 lines (37 loc) · 1.35 KB
/
WiringPi.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
opam-version: "2.0"
maintainer: "[email protected]"
homepage: "https://github.com/Leonidas-from-XIV/ocaml-wiringpi"
license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception"
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
]
remove: [
["ocamlfind" "remove" "WiringPi"]
]
depends: [
"ocaml"
"ocamlfind"
"ocamlbuild" {build}
]
post-messages: [
"
This package requires WiringPi development files installed.
Tentative instructions : https://gist.githubusercontent.com/Leonidas-from-XIV/a1a7315ac01f7fbee3f0/raw
"
{failure}
]
available: os = "linux"
install: ["ocaml" "setup.ml" "-install"]
synopsis: "WiringPi for OCaml, low level Raspberry Pi hardware access"
description: """
WiringPi is a library that allows easy, Arduino-like access to hardware
functionality (GPIO pins mostly) of the Raspberry Pi minicomputer. That library
is written in C so what this package does is to provide a simple interface to
use the C library from OCaml. The API is unchanged (even the capitalization) to
provide an interface which is as similar as possible to the code that it is
based upon.
Please note that you need to install the WiringPi library first, as it is not
included in this package. Otherwise compilation will fail."""
dev-repo: "git+https://github.com/Leonidas-from-XIV/ocaml-wiringpi.git"
flags: light-uninstall