-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
49 lines (49 loc) · 1.38 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@umons.ac.be"
authors: [
"Christophe Troestler <Christophe.Troestler@umons.ac.be>"
"Pierre Hauweele <antegallya@gmail.com>"
]
homepage: "http://forge.ocamlcore.org/projects/cairo/"
license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception"
dev-repo: "git+https://github.com/Chris00/ocaml-cairo.git"
bug-reports: "https://github.com/Chris00/ocaml-cairo/issues"
build: [
[
"ocaml"
"setup.ml"
"-configure"
"--prefix"
prefix
"--%{lablgtk:enable}%-lablgtk2"
]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: [
["ocaml" "setup.ml" "-install"]
]
remove: [["ocamlfind" "remove" "cairo2"]]
depends: [
"ocaml" {< "4.06"}
"lablgtk"
"ocamlfind" {build}
"ocamlbuild" {build}
"conf-cairo" {build}
"graphics" {build}
]
available: os != "macos"
synopsis: "Binding to Cairo, a Vector Graphics Library."
description: """
This is a binding to Cairo, a 2D graphics library with support for
multiple output devices. Currently supported output targets include
the X Window System, Quartz, Win32, image buffers, PostScript, PDF,
and SVG file output."""
flags: light-uninstall
url {
src: "https://download.ocamlcore.org/cairo/cairo/0.4.3/cairo-0.4.3.tar.gz"
checksum: [
"sha256=627335f8338ce9ff69525693e7cbf97ba7eba089a8b159dc4042e6e61eadb328"
"md5=0eec598d0736434bee438f2063221286"
]
}