this repo has no description

LablGL 1.06 (#14648)

* New release LablGL-1.06

* remove dependency on camlp4

* update release md5

* require ocaml >= 4.03

* add depexts for alpine and centos

* add fedora and suse

* suse is family, not distribution

* update versions

* add git+ prefix to url

Changed files
+68
packages
lablgl
lablgl.1.06
+20
packages/lablgl/lablgl.1.06/files/META
···
+
description = "Bindings for OpenGL graphics engines"
+
version = "1.06"
+
archive(byte) = "lablgl.cma"
+
archive(native) = "lablgl.cmxa"
+
+
package "togl" (
+
description = "OpenGL widget for labltk"
+
version = "1.06"
+
requires = "lablgl, labltk"
+
archive(byte) = "togl.cma"
+
archive(native) = "togl.cmxa"
+
)
+
+
package "glut" (
+
description = "Platform-independent OpenGL window"
+
version = "1.06"
+
requires = "lablgl"
+
archive(byte) = "lablglut.cma"
+
archive(native) = "lablglut.cmxa"
+
)
+1
packages/lablgl/lablgl.1.06/files/lablgl.install
···
+
lib: ["META"]
+47
packages/lablgl/lablgl.1.06/opam
···
+
opam-version: "2.0"
+
maintainer: "garrigue@math.nagoya-u.ac.jp"
+
authors: ["Jacques Garrigue et al., Nagoya University"]
+
homepage: "https://github.com/garrigue/lablgl"
+
bug-reports: "https://github.com/garrigue/lablgl/issues"
+
dev-repo: "git+https://github.com/garrigue/lablgl.git"
+
license: "BSD"
+
build: [
+
["cp" "Makefile.config.ex" "Makefile.config"]
+
["cp" "Makefile.config.osx" "Makefile.config"] {os = "macos"}
+
["mkdir" "-p" bin]
+
[make "INSTALLDIR=%{lib}%/lablgl" "glut"]
+
[make "glutopt"]
+
]
+
install: [
+
[make "install" "-C" "src" "BINDIR=%{bin}%" "INSTALLDIR=%{lib}%/lablgl" "DLLDIR=%{lib}%/stublibs"]
+
[make "install" "-C" "LablGlut/src" "BINDIR=%{bin}%" "INSTALLDIR=%{lib}%/lablgl" "DLLDIR=%{lib}%/stublibs"]
+
]
+
remove: [
+
["rm" "-rf" "%{lib}%/lablgl"]
+
["rm" "-f" "%{bin}%/lablglut"]
+
]
+
depends: ["ocaml" {>= "4.03"}]
+
depexts: [
+
["freeglut3-dev" "libglu1-mesa-dev" "mesa-common-dev"]
+
{os-distribution = "debian"}
+
["freeglut3-dev" "libglu1-mesa-dev" "mesa-common-dev"]
+
{os-distribution = "ubuntu"}
+
["freeglut-dev"] {os-distribution = "alpine"}
+
["freeglut-devel"] {os-distribution = "centos"}
+
["freeglut-devel"] {os-distribution = "fedora"}
+
["freeglut-devel"] {os-family = "suse"}
+
]
+
synopsis: "Interface to OpenGL"
+
description: """
+
Interface between OCaml and OpenGL, including Togl wrapper for use
+
with LablTk, and LablGlut wrapper for direct use using the glut
+
library."""
+
flags: light-uninstall
+
extra-files: [
+
["lablgl.install" "md5=a03d20fcd54d7277982caf03b05354fa"]
+
["META" "md5=49c6f4d534802c35d0faa722dedcea76"]
+
]
+
url {
+
src: "https://github.com/garrigue/lablgl/archive/v1.06.tar.gz"
+
checksum: "md5=8ee7a37b016095c4f7cd066f0ebd4436"
+
}