this repo has no description
1opam-version: "2.0"
2maintainer: "garrigue@math.nagoya-u.ac.jp"
3authors: ["Jacques Garrigue et al., Nagoya University"]
4homepage: "https://github.com/garrigue/lablgl"
5bug-reports: "https://github.com/garrigue/lablgl/issues"
6dev-repo: "git+https://github.com/garrigue/lablgl.git"
7license: "BSD-3-Clause"
8build: [
9 ["cp" "Makefile.config.ex" "Makefile.config"]
10 ["cp" "Makefile.config.osx" "Makefile.config"] {os = "macos"}
11 ["mkdir" "-p" bin]
12 [make "INSTALLDIR=%{lib}%/lablgl" "glut"]
13 [make "glutopt"] {ocaml:native}
14]
15install: [
16 [make "install" "-C" "src" "BINDIR=%{bin}%" "INSTALLDIR=%{lib}%/lablgl" "DLLDIR=%{lib}%/stublibs"]
17 [make "install" "-C" "LablGlut/src" "BINDIR=%{bin}%" "INSTALLDIR=%{lib}%/lablgl" "DLLDIR=%{lib}%/stublibs"]
18]
19remove: [
20 ["rm" "-rf" "%{lib}%/lablgl"]
21 ["rm" "-f" "%{bin}%/lablglut"]
22]
23depends: [
24 "ocaml" {>= "4.14"}
25 "ocamlfind" {>= "1.2.1"}
26 "camlp-streams" {build}
27 "camlp5"
28 "conf-libgl"
29 "conf-libglu"
30 "conf-freeglut"
31]
32synopsis: "Interface to OpenGL"
33description: """
34Interface between OCaml and OpenGL, including LablGlut wrapper
35for use with the glut library."""
36flags: light-uninstall
37url {
38 src: "https://github.com/garrigue/lablgl/archive/v1.07.tar.gz"
39 checksum: [
40 "sha256=845477ed8d5aeaad63907a9edfc1d8f8d62b932c6e37a32502926ee402a6271f"
41 "md5=5345199a125069371ef3fc859c55cc43"
42 ]
43}
44extra-source "lablgl.install" {
45 src:
46 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lablgl/lablgl.install"
47 checksum: [
48 "sha256=cb154f04b1afccaa7a4ca6e7603ccb1114066c7d4dffa98b8d7ab9d48dbd925f"
49 "md5=a03d20fcd54d7277982caf03b05354fa"
50 ]
51}
52extra-source "META" {
53 src:
54 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/lablgl/META.1.07"
55 checksum: [
56 "sha256=449a25a8ec0bcbab66085aeb69c23985040b1e538e236329a1e7f469654f5f7a"
57 "md5=7b3ef952f4f896882f684c504e9e31d9"
58 ]
59}