ocaml-lablgl: fixes the META file

This commit is contained in:
Vincent Laporte 2014-10-03 23:19:32 +01:00 committed by Aristid Breitkreuz
parent 3f2a64d132
commit 7fd487018c
2 changed files with 24 additions and 5 deletions

View File

@ -0,0 +1,18 @@
diff -r 562eb6ecb8ca META
--- a/META Wed Oct 01 20:09:24 2014 +0100
+++ b/META Wed Oct 01 20:22:15 2014 +0100
@@ -1,6 +1,5 @@
-description "Bindings for OpenGL"
+description="Bindings for OpenGL"
version="1.05"
-directory="+lablGL"
archive(byte) = "lablgl.cma"
archive(native) = "lablgl.cmxa"
@@ -16,4 +15,4 @@
requires = "lablgl"
archive(byte) = "lablglut.cma"
archive(native) = "lablglut.cmxa"
-)
\ No newline at end of file
+)

View File

@ -14,9 +14,10 @@ stdenv.mkDerivation {
sha256 = "0qabydd219i4ak7hxgc67496qnnscpnydya2m4ijn3cpbgih7zyq";
};
buildInputs = [ocaml findlib lablgtk mesa freeglut ];
buildInputs = [ocaml findlib lablgtk freeglut ];
propagatedBuildInputs = [ mesa ];
patches = [ ./Makefile.config.patch ];
patches = [ ./Makefile.config.patch ./META.patch ];
preConfigure = ''
substituteInPlace Makefile.config \
@ -35,10 +36,10 @@ stdenv.mkDerivation {
cp ./META $out/lib/ocaml/${ocaml_version}/site-lib/lablgl
'';
meta = {
meta = with stdenv.lib; {
homepage = http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html;
description = "OpenGL bindings for ocaml";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.pSub ];
license = licenses.gpl2;
maintainers = with maintainers; [ pSub vbgl ];
};
}