Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/graphics
In directory sc8-pr-cvs17:/tmp/cvs-serv23708/main/finkinfo/graphics

Added Files:
        lablgl.info lablgl.patch 
Log Message:
Stabilize Unison

--- NEW FILE: lablgl.patch ---
Info2: <<
Package: lablgl%type_pkg[-x11]
Version: 1.02
Revision: 2
Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgl-%v.tar.gz
Source-MD5: b50e4e7d856c26bc4449151e4307b37b
SourceDirectory: lablgl-%v
DocFiles: CHANGES README COPYRIGHT
License: BSD
Description: OpenGL binding for Objective Caml
Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
Maintainer: Likai Liu <[EMAIL PROTECTED]>

Type: -x11 (boolean)

DescDetail: <<
LablGL is an OpenGL interface for Objective Caml. It includes support for both
Togl widget and GLUT, which you can comfortably use with LablTk and LablGlut.
Specific support for LablGL is also included in LablGTK.

Two variants, lablgl and lablgl-x11, are supported. Please see DescPort for
details.
<<
DescPort: <<
Two variants of lablgl are supplied here, lablgl and lablgl-x11. Native lablgl
is linked against Mac OS X OpenGL and GLUT frameworks, which is aqua-based, but
compiles without tcltk support; lablgl-x11 uses GL facility provided by x11 and
a glut library based on xlib and supports tcl/tk GL wrapper widget.
<<
DescPackaging: <<
The patch file consists of Makefile.config that allows the CompileScript to
adjust compilation flags to the appropriate variant, and to allow installation
to DESTDIR.
<<

BuildDepends: <<
ocaml (>= 3.05-1),
(%type_raw[-x11] = -x11) x11-dev, (%type_raw[-x11] = -x11) tcltk-dev,
(%type_raw[-x11] = -x11) libgl,
(%type_raw[-x11] = -x11) freeglut
<<
Depends: <<
ocaml (>= 3.05-1),
(%type_raw[-x11] = .) macosx,
(%type_raw[-x11] = -x11) x11, (%type_raw[-x11] = -x11) tcltk,
(%type_raw[-x11] = -x11) libgl,
(%type_raw[-x11] = -x11) freeglut-shlibs
<<
Provides: (%type_raw[-x11] = -x11) lablgl-togl
Replaces: (%type_raw[-x11] = -x11) lablgl, (%type_raw[-x11] = .) lablgl-x11
Conflicts: (%type_raw[-x11] = -x11) lablgl, (%type_raw[-x11] = .) lablgl-x11

PatchScript: patch -p1 < %a/lablgl.patch
CompileScript: <<
#!/bin/sh -ev
if [ "%type_raw[-x11]" == "-x11" ]; then
  make \
    PREFIX=%p \
    XINCLUDES="-I/usr/X11R6/include" \
    XLIBS="-L/usr/X11R6/lib -lXext -lXmu -lX11" \
    TKINCLUDES="-I%p/include" \
    TKLIBS="-L%p/lib -L/usr/X11R6/lib -lGL -lXmu" \
    GLLIBS="-lGL -lGLU" \
    GLUTLIBS="-L%p/lib -lfreeglut" \
    all opt
else
  make \
    PREFIX=%p \
    GLLIBS="-framework OpenGL" \
    GLUTLIBS="-framework GLUT" \
    lib glut libopt glutopt
fi
<<
InstallScript: <<
#!/bin/sh -ev
  mkdir -p %i/lib/ocaml/stublibs
  make install PREFIX=%p DESTDIR=%d
<<
<<

--- NEW FILE: lablgl.info ---
Info2: <<
Package: lablgl%type_pkg[-x11]
Version: 1.02
Revision: 2
Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgl-%v.tar.gz
Source-MD5: b50e4e7d856c26bc4449151e4307b37b
SourceDirectory: lablgl-%v
DocFiles: CHANGES README COPYRIGHT
License: BSD
Description: OpenGL binding for Objective Caml
Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
Maintainer: Likai Liu <[EMAIL PROTECTED]>

Type: -x11 (boolean)

DescDetail: <<
LablGL is an OpenGL interface for Objective Caml. It includes support for both
Togl widget and GLUT, which you can comfortably use with LablTk and LablGlut.
Specific support for LablGL is also included in LablGTK.

Two variants, lablgl and lablgl-x11, are supported. Please see DescPort for
details.
<<
DescPort: <<
Two variants of lablgl are supplied here, lablgl and lablgl-x11. Native lablgl
is linked against Mac OS X OpenGL and GLUT frameworks, which is aqua-based, but
compiles without tcltk support; lablgl-x11 uses GL facility provided by x11 and
a glut library based on xlib and supports tcl/tk GL wrapper widget.
<<
DescPackaging: <<
The patch file consists of Makefile.config that allows the CompileScript to
adjust compilation flags to the appropriate variant, and to allow installation
to DESTDIR.
<<

BuildDepends: <<
ocaml (>= 3.05-1),
(%type_raw[-x11] = -x11) x11-dev, (%type_raw[-x11] = -x11) tcltk-dev,
(%type_raw[-x11] = -x11) libgl,
(%type_raw[-x11] = -x11) freeglut
<<
Depends: <<
ocaml (>= 3.05-1),
(%type_raw[-x11] = .) macosx,
(%type_raw[-x11] = -x11) x11, (%type_raw[-x11] = -x11) tcltk,
(%type_raw[-x11] = -x11) libgl,
(%type_raw[-x11] = -x11) freeglut-shlibs
<<
Provides: (%type_raw[-x11] = -x11) lablgl-togl
Replaces: (%type_raw[-x11] = -x11) lablgl, (%type_raw[-x11] = .) lablgl-x11
Conflicts: (%type_raw[-x11] = -x11) lablgl, (%type_raw[-x11] = .) lablgl-x11

PatchScript: patch -p1 < %a/lablgl.patch
CompileScript: <<
#!/bin/sh -ev
if [ "%type_raw[-x11]" == "-x11" ]; then
  make \
    PREFIX=%p \
    XINCLUDES="-I/usr/X11R6/include" \
    XLIBS="-L/usr/X11R6/lib -lXext -lXmu -lX11" \
    TKINCLUDES="-I%p/include" \
    TKLIBS="-L%p/lib -L/usr/X11R6/lib -lGL -lXmu" \
    GLLIBS="-lGL -lGLU" \
    GLUTLIBS="-L%p/lib -lfreeglut" \
    all opt
else
  make \
    PREFIX=%p \
    GLLIBS="-framework OpenGL" \
    GLUTLIBS="-framework GLUT" \
    lib glut libopt glutopt
fi
<<
InstallScript: <<
#!/bin/sh -ev
  mkdir -p %i/lib/ocaml/stublibs
  make install PREFIX=%p DESTDIR=%d
<<
<<


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to