Fixing indenting in addons/Socket/samples/EchoServer.io
[io/quag.git] / addons / Image / build.io
blobde8a235af965711251d5f6477c8a68ff54dc8862
1 AddonBuilder clone do(
2 if(list("cygwin", "mingw") contains(platform),
3 dependsOnLib("glu32")
4 dependsOnLib("opengl32")
7 if(platform == "windows",
8 dependsOnSysLib("glu32")
9 dependsOnSysLib("opengl32")
12 if(platform == "darwin",
13 dependsOnFramework("OpenGL")
16 if(platform == "linux",
17 dependsOnLib("GL")
18 dependsOnLib("GLU")
21 if (platform != "darwin",
22 dependsOnHeader("zlib.h")
24 if (platform != "darwin" and platform != "windows",
25 dependsOnHeader("GL/gl.h")
26 dependsOnHeader("GL/glu.h")
29 dependsOnLib("z")
30 dependsOnLib("png")
31 dependsOnLib("tiff")
32 dependsOnLib("jpeg")
34 dependsOnHeader("png.h")
35 dependsOnHeader("tiff.h")
36 dependsOnHeader("jpeglib.h")
38 debs atPut("png", "libpng12-dev")
39 ebuilds atPut("png", "libpng")
40 pkgs atPut("png", "libpng")
41 rpms atPut("png", "libpng-devel")
43 debs atPut("tiff", "libtiff4-dev")
44 ebuilds atPut("tiff", "tiff")
45 pkgs atPut("tiff", "tiff")
46 rpms atPut("tiff", "libtiff-devel")
48 debs atPut("jpeg", "libjpeg62-dev")
49 ebuilds atPut("jpeg", "jpeg")
50 pkgs atPut("jpeg", "jpeg")
51 rpms atPut("jpeg", "libjpeg-devel")