2 if(list("cygwin", "mingw") contains(platform
),
6 dependsOnLib("opengl32")
9 if(platform
== "windows",
10 dependsOnSysLib("glut32")
11 dependsOnSysLib("opengl32")
14 if(platform
== "darwin",
15 dependsOnFramework("GLUT")
16 dependsOnFramework("OpenGL")
17 dependsOnFramework("Carbon")
18 dependsOnFramework("Foundation")
21 if(list("linux", "netbsd") contains(platform
),
27 if (platform
!= "darwin" and platform
!= "windows",
28 dependsOnHeader("GL/gl.h")
29 dependsOnHeader("GL/glu.h")
30 dependsOnHeader("GL/glut.h")
33 dependsOnBinding("Box")
34 dependsOnBinding("Image")
36 debs
atPut("GL", "libgl1-mesa-dev")
37 ebuilds
atPut("GL", "mesa")
38 rpms
atPut("GL", "Mesa-devel")
40 debs
atPut("GLU", "libglu1-mesa-dev")
41 ebuilds
atPut("GLU", "mesa")
42 rpms
atPut("GLU", "Mesa-devel")
44 debs
atPut("glut", "freeglut3-dev")
45 ebuilds
atPut("glut", "media-libs/glut")
46 pkgs
atPut("glut", "glut")
47 rpms
atPut("glut", "Mesa-devel")