Mercurial > prosody-hg
comparison util/dependencies.lua @ 7813:56b0ae8cbb02
util.dependencies: Update Debian package names for liblua5.1-lib0 -> lua-lib transition
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 06 Jan 2017 11:10:24 +0100 |
| parents | b1f80447a2b1 |
| children | 8a9942086068 3fbfd7210d78 |
comparison
equal
deleted
inserted
replaced
| 7812:2bc339352dcd | 7813:56b0ae8cbb02 |
|---|---|
| 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 |
