categories ocaml devel multimedia
description OCaml bindings for SDL
SDL (Simple DirectMedia Layer) is a generic API that provides low level access to audio, keyboard, mouse, and display\
framebuffer across multiple platforms. OCamlSDL is an OCaml interface to the SDL and might be used to write multimedia\
applications in Objective Caml.
homepage http://ocamlsdl.sourceforge.net/
master_sites sourceforge:project/${name}/OCamlSDL/${name}-${version}
checksums rmd160 9ed03415db7dabe652efa78e80ddfae221f09d20 \
sha256 abfb295b263dc11e97fffdd88ea1a28b46df8cc2b196777093e4fe7f509e4f8f
depends_lib port:libsdl_image port:libsdl_mixer port:libsdl_ttf port:ocaml port:lablgl port:ocaml-findlib
configure.args --disable-sdltest
configure.env OCAMLFIND=${ocamlfind_wrapper}
reinplace "s|-Wl,-framework,Cocoa|-framework Cocoa|g" ${worksrcpath}/makefile.config.gcc
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}