-
Notifications
You must be signed in to change notification settings - Fork 10
/
opam
43 lines (40 loc) · 1.17 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
opam-version: "2.0"
name: "ocamlsdl2"
maintainer: "[email protected]"
authors: [
"Florent Monnier"
"Piotr Mardziel"
"David Cadé"
"Guillaume Munch-Maccagnoni"
"Carsten Elton Sørensen"
]
license: "restrictionless Zlib"
homepage: "https://github.com/fccm/OCamlSDL2"
bug-reports: "https://github.com/fccm/OCamlSDL2/issues"
dev-repo: "git+https://github.com/fccm/OCamlSDL2.git"
doc: "https://fccm.github.io/OCamlSDL2/"
tags: [ "bindings" "graphics" "audio" "multimedia" "opengl" "cross-platform" ]
synopsis: "Interface to the SDL2 library"
description: """
An OCaml interface to the SDL2 multimedia library for Linux, MacOS and Windows.
SDL2 homepage: https://www.libsdl.org/
This version of the bindings is known to work with SDL2 versions
2.0.9 and 2.0.10
"""
depends: [
"ocaml"
"ocamlfind" {build}
"conf-sdl2"
]
build: [
["cp" "src/Makefile.config.unix" "src/Makefile.config"] {"%{os}%" != "win32"}
["cp" "src/Makefile.config.win32" "src/Makefile.config"] {"%{os}%" = "win32"}
[make "-C" "src" "gen"]
[make "-C" "src" "dep"]
[make "-C" "src" "opt"]
[make "-C" "src" "byte"]
]
install: [
[make "-C" "src" "findinstall"]
[make "-C" "src" "findinstall_h"]
]