Comparison

util/dependencies.lua @ 7820:8a9942086068

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 09 Jan 2017 10:17:39 +0100
parent 7780:dbd202e7c587
parent 7813:56b0ae8cbb02
child 7878:2fdb7b3648d8
comparison
equal deleted inserted replaced
7817:4e3654031693 7820:8a9942086068
59 59
60 local lxp = softreq "lxp" 60 local lxp = softreq "lxp"
61 61
62 if not lxp then 62 if not lxp then
63 missingdep("luaexpat", { 63 missingdep("luaexpat", {
64 ["Debian/Ubuntu"] = "sudo apt-get install liblua5.1-expat0"; 64 ["Debian/Ubuntu"] = "sudo apt-get install lua-expat";
65 ["luarocks"] = "luarocks install luaexpat"; 65 ["luarocks"] = "luarocks install luaexpat";
66 ["Source"] = "http://matthewwild.co.uk/projects/luaexpat/"; 66 ["Source"] = "http://matthewwild.co.uk/projects/luaexpat/";
67 }); 67 });
68 fatal = true; 68 fatal = true;
69 end 69 end
70 70
71 local socket = softreq "socket" 71 local socket = softreq "socket"
72 72
73 if not socket then 73 if not socket then
74 missingdep("luasocket", { 74 missingdep("luasocket", {
75 ["Debian/Ubuntu"] = "sudo apt-get install liblua5.1-socket2"; 75 ["Debian/Ubuntu"] = "sudo apt-get install lua-socket";
76 ["luarocks"] = "luarocks install luasocket"; 76 ["luarocks"] = "luarocks install luasocket";
77 ["Source"] = "http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/"; 77 ["Source"] = "http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/";
78 }); 78 });
79 fatal = true; 79 fatal = true;
80 end 80 end
81 81
82 local lfs, err = softreq "lfs" 82 local lfs, err = softreq "lfs"
83 if not lfs then 83 if not lfs then
84 missingdep("luafilesystem", { 84 missingdep("luafilesystem", {
85 ["luarocks"] = "luarocks install luafilesystem"; 85 ["luarocks"] = "luarocks install luafilesystem";
86 ["Debian/Ubuntu"] = "sudo apt-get install liblua5.1-filesystem0"; 86 ["Debian/Ubuntu"] = "sudo apt-get install lua-filesystem";
87 ["Source"] = "http://www.keplerproject.org/luafilesystem/"; 87 ["Source"] = "http://www.keplerproject.org/luafilesystem/";
88 }); 88 });
89 fatal = true; 89 fatal = true;
90 end 90 end
91 91