/
opam
51 lines (48 loc) · 1.74 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
50
51
opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
homepage: "http://erratique.ch/software/vg"
authors: ["Daniel Bünzli <daniel.buenzli i@erratique.ch>"]
doc: "http://erratique.ch/software/vg/doc/Vg"
#dev-repo: "http://erratique.ch/repos/vg.git"
#bug-reports: "https://github.com/dbuenzli/vg/issues"
tags: [ "pdf" "svg" "html-canvas" "declarative" "graphics" "org:erratique" ]
license: "BSD-3-Clause"
depends: [
"ocaml" {>= "4.01.0" & < "4.06.0"}
"ocamlfind"
"gg" {>= "0.9.0"}
"ocamlbuild" {build}
]
depopts: [ "uutf" "otfm" "js_of_ocaml" ]
conflicts: [ "uutf" {> "0.9.4"}
"js_of_ocaml" {>= "3.0"} ]
build: ["ocaml" "pkg/git.ml"]
install: [
"ocaml"
"pkg/build.ml"
"native=true"
"native-dynlink=true"
"uutf=%{uutf:installed}%"
"otfm=%{otfm:installed}%"
"jsoo=%{js_of_ocaml:installed}%"
]
synopsis: "Declarative 2D vector graphics for OCaml"
description: """
Vg is an OCaml module for declarative 2D vector graphics. In Vg,
images are values that denote functions mapping points of the
cartesian plane to colors. The module provides combinators to define
and compose these values.
Renderers for PDF, SVG and the HTML canvas are distributed with the
module. An API allows to implement new renderers.
Vg depends only on [Gg][1]. The SVG renderer has no dependency, the
PDF renderer depends on [Uutf][2] and [Otfm][3], the HTML canvas
renderer depends on [js_of_ocaml][4]. Vg and its renderers are
distributed under the BSD3 license.
[1]: http://erratique.ch/software/gg
[2]: http://erratique.ch/software/uutf
[3]: http://erratique.ch/software/otfm
[4]: http://ocsigen.org/js_of_ocaml/"""
url {
src: "http://erratique.ch/software/vg/releases/vg-0.8.1.tbz"
checksum: "md5=abde3e78212f155365b4a81e07ed83bf"
}