package gammu
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=c28db0aa7c53cbf44d953ab9a4bca95a3e15c605e96b125f061826b91e93e64e
md5=be9b2602e8d67cbad66fe71d1502fc3b
Description
Gammu is a binding to libGammu which allows to manage data in your cell phone such as contacts, calendar or messages.
README
Gammu
This is a binding from OCaml to libGammu, which provides an abstraction layer to work with different cell phones from different vendors.
Install
First, you need to install the gammu development files; see gammu.opam to get the right package for your system. The build script will use pkg-config to determine the right flags for your system. If pkg-config does not work (e.g. you are on Windows), set the environment variable OCAML_GAMMU_CFLAGS to the compiler flags to find the header files (e.g. -I/usr/include/gammu) and OCAML_GAMMU_LIBS to the linking flags (e.g. -lgammu -lm). Beware that, if these variables are set, they take precedence over the pkg-config discovery.
The easier way to install this library is to use opam:
opam install gammuIf you prefer to compile by hand, issue jbuilder build @install in the directory in which you downloaded this code.
To compile the library with debugging output turned on for the C stubs, define the environment variable OCAML_GAMMU_DEBUG.
Documentation
Dependencies (6)
-
conf-pkg-config
build -
configurator
build -
stdio
build -
base
build -
jbuilder
>= "1.0+beta9" -
ocaml
>= "4.02.3"
Dev Dependencies (1)
-
base-unix
build & with-test
Used by
None
Conflicts
None