-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
42 lines (40 loc) · 1.33 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
opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
homepage: "http://erratique.ch/software/tsdl"
doc: "http://erratique.ch/software/tsdl/doc/Tsdl"
dev-repo: "git+http://erratique.ch/repos/tsdl.git"
bug-reports: "https://github.com/dbuenzli/tsdl/issues"
tags: [ "audio" "bindings" "graphics" "media" "opengl" "input" "hci"
"org:erratique" ]
license: "ISC"
depends: [
"ocaml" {>= "4.02.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build}
"ocb-stubblr" {build}
"conf-sdl2"
"result" {< "1.5"}
"ctypes" {>= "0.9.0" & < "0.21.0"}
"ctypes-foreign"
]
build: [[
"ocaml" "pkg/pkg.ml" "build"
"--pinned" "%{pinned}%" ]]
synopsis: "Thin bindings to SDL for OCaml"
description: """
Tsdl is an OCaml library providing thin bindings to the cross-platform
SDL C library.
Tsdl depends on the [SDL 2.0.5][sdl] C library (or later),
[ocaml-ctypes][ctypes] and the `result` compatibility package.
Tsdl is distributed under the ISC license.
[sdl]: http://www.libsdl.org/
[ctypes]: https://github.com/ocamllabs/ocaml-ctypes"""
url {
src: "http://erratique.ch/software/tsdl/releases/tsdl-0.9.3.tbz"
checksum: [
"sha256=a0f71065378ae0d91dacf46f440ace85885f7b59dbb38155ecd21691661f602c"
"md5=95ac94745afad8f0c154ee1b0fdd11b8"
]
}