├── .gitignore ├── .gitmodules ├── .travis.yml ├── CMakeLists.txt ├── README.md ├── config.in ├── install └── install.bat /.gitignore: -------------------------------------------------------------------------------- 1 | _* 2 | .DS_* 3 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "zlib"] 2 | path = zlib 3 | url = git://github.com/LuaDist/zlib.git 4 | [submodule "zip"] 5 | path = zip 6 | url = git://github.com/LuaDist/zip.git 7 | [submodule "xstring"] 8 | path = xstring 9 | url = git://github.com/LuaDist/xstring.git 10 | [submodule "xssfilter"] 11 | path = xssfilter 12 | url = git://github.com/LuaDist/xssfilter.git 13 | [submodule "xavante"] 14 | path = xavante 15 | url = git://github.com/LuaDist/xavante.git 16 | [submodule "wxlua"] 17 | path = wxlua 18 | url = git://github.com/LuaDist/wxlua.git 19 | [submodule "versium"] 20 | path = versium 21 | url = git://github.com/LuaDist/versium.git 22 | [submodule "venv"] 23 | path = venv 24 | url = git://github.com/LuaDist/venv.git 25 | [submodule "unzip"] 26 | path = unzip 27 | url = git://github.com/LuaDist/unzip.git 28 | [submodule "toluapp"] 29 | path = toluapp 30 | url = git://github.com/LuaDist/toluapp.git 31 | [submodule "tokyocabinet"] 32 | path = tokyocabinet 33 | url = git://github.com/LuaDist/tokyocabinet.git 34 | [submodule "tcc"] 35 | path = tcc 36 | url = git://github.com/LuaDist/tcc.git 37 | [submodule "sputnik_tickets"] 38 | path = sputnik_tickets 39 | url = git://github.com/LuaDist/sputnik_tickets.git 40 | [submodule "sputnik_markitup"] 41 | path = sputnik_markitup 42 | url = git://github.com/LuaDist/sputnik_markitup.git 43 | [submodule "sputnik"] 44 | path = sputnik 45 | url = git://github.com/LuaDist/sputnik.git 46 | [submodule "sool"] 47 | path = sool 48 | url = git://github.com/LuaDist/sool.git 49 | [submodule "slnunicode"] 50 | path = slnunicode 51 | url = git://github.com/LuaDist/slnunicode.git 52 | [submodule "slncrypto"] 53 | path = slncrypto 54 | url = git://github.com/LuaDist/slncrypto.git 55 | [submodule "simulua"] 56 | path = simulua 57 | url = git://github.com/LuaDist/simulua.git 58 | [submodule "shake"] 59 | path = shake 60 | url = git://github.com/LuaDist/shake.git 61 | [submodule "scite"] 62 | path = scite 63 | url = git://github.com/LuaDist/scite.git 64 | [submodule "scintilla"] 65 | path = scintilla 66 | url = git://github.com/LuaDist/scintilla.git 67 | [submodule "saci"] 68 | path = saci 69 | url = git://github.com/LuaDist/saci.git 70 | [submodule "rings"] 71 | path = rings 72 | url = git://github.com/LuaDist/rings.git 73 | [submodule "remdebug"] 74 | path = remdebug 75 | url = git://github.com/LuaDist/remdebug.git 76 | [submodule "regex"] 77 | path = regex 78 | url = git://github.com/LuaDist/regex.git 79 | [submodule "recaptcha"] 80 | path = recaptcha 81 | url = git://github.com/LuaDist/recaptcha.git 82 | [submodule "qtlua"] 83 | path = qtlua 84 | url = git://github.com/LuaDist/qtlua.git 85 | [submodule "pluto"] 86 | path = pluto 87 | url = git://github.com/LuaDist/pluto.git 88 | [submodule "penlight"] 89 | path = penlight 90 | url = git://github.com/LuaDist/penlight.git 91 | [submodule "pcre"] 92 | path = pcre 93 | url = git://github.com/LuaDist/pcre.git 94 | [submodule "openssl"] 95 | path = openssl 96 | url = git://github.com/LuaDist/openssl.git 97 | [submodule "onig"] 98 | path = onig 99 | url = git://github.com/LuaDist/onig.git 100 | [submodule "olua"] 101 | path = olua 102 | url = git://github.com/LuaDist/olua.git 103 | [submodule "objl"] 104 | path = objl 105 | url = git://github.com/LuaDist/objl.git 106 | [submodule "objectlua"] 107 | path = objectlua 108 | url = git://github.com/LuaDist/objectlua.git 109 | [submodule "numlua"] 110 | path = numlua 111 | url = git://github.com/LuaDist/numlua.git 112 | [submodule "mixlua"] 113 | path = mixlua 114 | url = git://github.com/LuaDist/mixlua.git 115 | [submodule "md5"] 116 | path = md5 117 | url = git://github.com/LuaDist/md5.git 118 | [submodule "markdown"] 119 | path = markdown 120 | url = git://github.com/LuaDist/markdown.git 121 | [submodule "mapm"] 122 | path = mapm 123 | url = git://github.com/LuaDist/mapm.git 124 | [submodule "lzlib"] 125 | path = lzlib 126 | url = git://github.com/LuaDist/lzlib.git 127 | [submodule "lv3"] 128 | path = lv3 129 | url = git://github.com/LuaDist/lv3.git 130 | [submodule "lunit"] 131 | path = lunit 132 | url = git://github.com/LuaDist/lunit.git 133 | [submodule "luma"] 134 | path = luma 135 | url = git://github.com/LuaDist/luma.git 136 | [submodule "luazip"] 137 | path = luazip 138 | url = git://github.com/LuaDist/luazip.git 139 | [submodule "luaxml"] 140 | path = luaxml 141 | url = git://github.com/LuaDist/luaxml.git 142 | [submodule "luaunit"] 143 | path = luaunit 144 | url = git://github.com/LuaDist/luaunit.git 145 | [submodule "luatask"] 146 | path = luatask 147 | url = git://github.com/LuaDist/luatask.git 148 | [submodule "luasys"] 149 | path = luasys 150 | url = git://github.com/LuaDist/luasys.git 151 | [submodule "luasql-sqlite3"] 152 | path = luasql-sqlite3 153 | url = git://github.com/LuaDist/luasql-sqlite3.git 154 | [submodule "luasql-sqlite"] 155 | path = luasql-sqlite 156 | url = git://github.com/LuaDist/luasql-sqlite.git 157 | [submodule "luasql-mysql"] 158 | path = luasql-mysql 159 | url = git://github.com/LuaDist/luasql-mysql.git 160 | [submodule "luasoap"] 161 | path = luasoap 162 | url = git://github.com/LuaDist/luasoap.git 163 | [submodule "luasec"] 164 | path = luasec 165 | url = git://github.com/LuaDist/luasec.git 166 | [submodule "luaprofiler"] 167 | path = luaprofiler 168 | url = git://github.com/LuaDist/luaprofiler.git 169 | [submodule "luaposix"] 170 | path = luaposix 171 | url = git://github.com/LuaDist/luaposix.git 172 | [submodule "luapod"] 173 | path = luapod 174 | url = git://github.com/LuaDist/luapod.git 175 | [submodule "luapi"] 176 | path = luapi 177 | url = git://github.com/LuaDist/luapi.git 178 | [submodule "lualogging"] 179 | path = lualogging 180 | url = git://github.com/LuaDist/lualogging.git 181 | [submodule "lualnum"] 182 | path = lualnum 183 | url = git://github.com/LuaDist/lualnum.git 184 | [submodule "lualibusb"] 185 | path = lualibusb 186 | url = git://github.com/LuaDist/lualibusb.git 187 | [submodule "luajson"] 188 | path = luajson 189 | url = git://github.com/LuaDist/luajson.git 190 | [submodule "luajit"] 191 | path = luajit 192 | url = git://github.com/LuaDist/luajit.git 193 | [submodule "luajava"] 194 | path = luajava 195 | url = git://github.com/LuaDist/luajava.git 196 | [submodule "luaidl"] 197 | path = luaidl 198 | url = git://github.com/LuaDist/luaidl.git 199 | [submodule "luagraph"] 200 | path = luagraph 201 | url = git://github.com/LuaDist/luagraph.git 202 | [submodule "luaglut"] 203 | path = luaglut 204 | url = git://github.com/LuaDist/luaglut.git 205 | [submodule "luagl"] 206 | path = luagl 207 | url = git://github.com/LuaDist/luagl.git 208 | [submodule "luagd"] 209 | path = luagd 210 | url = git://github.com/LuaDist/luagd.git 211 | [submodule "luafish"] 212 | path = luafish 213 | url = git://github.com/LuaDist/luafish.git 214 | [submodule "luaffi"] 215 | path = luaffi 216 | url = git://github.com/LuaDist/luaffi.git 217 | [submodule "luaexpat"] 218 | path = luaexpat 219 | url = git://github.com/LuaDist/luaexpat.git 220 | [submodule "luaex"] 221 | path = luaex 222 | url = git://github.com/LuaDist/luaex.git 223 | [submodule "luadoc"] 224 | path = luadoc 225 | url = git://github.com/LuaDist/luadoc.git 226 | [submodule "luadate"] 227 | path = luadate 228 | url = git://github.com/LuaDist/luadate.git 229 | [submodule "luacurl"] 230 | path = luacurl 231 | url = git://github.com/LuaDist/luacurl.git 232 | [submodule "luacrypto"] 233 | path = luacrypto 234 | url = git://github.com/LuaDist/luacrypto.git 235 | [submodule "luacov"] 236 | path = luacov 237 | url = git://github.com/LuaDist/luacov.git 238 | [submodule "luacontractor"] 239 | path = luacontractor 240 | url = git://github.com/LuaDist/luacontractor.git 241 | [submodule "luacom"] 242 | path = luacom 243 | url = git://github.com/LuaDist/luacom.git 244 | [submodule "luabitop"] 245 | path = luabitop 246 | url = git://github.com/LuaDist/luabitop.git 247 | [submodule "luabind"] 248 | path = luabind 249 | url = git://github.com/LuaDist/luabind.git 250 | [submodule "lua-xmlreader"] 251 | path = lua-xmlreader 252 | url = git://github.com/LuaDist/lua-xmlreader.git 253 | [submodule "lsqlite3"] 254 | path = lsqlite3 255 | url = git://github.com/LuaDist/lsqlite3.git 256 | [submodule "lrexlib"] 257 | path = lrexlib 258 | url = git://github.com/LuaDist/lrexlib.git 259 | [submodule "lrandom"] 260 | path = lrandom 261 | url = git://github.com/LuaDist/lrandom.git 262 | [submodule "lpeg"] 263 | path = lpeg 264 | url = git://github.com/LuaDist/lpeg.git 265 | [submodule "lpc"] 266 | path = lpc 267 | url = git://github.com/LuaDist/lpc.git 268 | [submodule "lpack"] 269 | path = lpack 270 | url = git://github.com/LuaDist/lpack.git 271 | [submodule "loop"] 272 | path = loop 273 | url = git://github.com/LuaDist/loop.git 274 | [submodule "lmock"] 275 | path = lmock 276 | url = git://github.com/LuaDist/lmock.git 277 | [submodule "lmathx"] 278 | path = lmathx 279 | url = git://github.com/LuaDist/lmathx.git 280 | [submodule "lmapm"] 281 | path = lmapm 282 | url = git://github.com/LuaDist/lmapm.git 283 | [submodule "lip"] 284 | path = lip 285 | url = git://github.com/LuaDist/lip.git 286 | [submodule "libzzip"] 287 | path = libzzip 288 | url = git://github.com/LuaDist/libzzip.git 289 | [submodule "libtiff"] 290 | path = libtiff 291 | url = git://github.com/LuaDist/libtiff.git 292 | [submodule "libsqlite3"] 293 | path = libsqlite3 294 | url = git://github.com/LuaDist/libsqlite3.git 295 | [submodule "libpng"] 296 | path = libpng 297 | url = git://github.com/LuaDist/libpng.git 298 | [submodule "libmng"] 299 | path = libmng 300 | url = git://github.com/LuaDist/libmng.git 301 | [submodule "libjpeg"] 302 | path = libjpeg 303 | url = git://github.com/LuaDist/libjpeg.git 304 | [submodule "libgdbm"] 305 | path = libgdbm 306 | url = git://github.com/LuaDist/libgdbm.git 307 | [submodule "libffi"] 308 | path = libffi 309 | url = git://github.com/LuaDist/libffi.git 310 | [submodule "libexpat"] 311 | path = libexpat 312 | url = git://github.com/LuaDist/libexpat.git 313 | [submodule "libdevil"] 314 | path = libdevil 315 | url = git://github.com/LuaDist/libdevil.git 316 | [submodule "libarchive"] 317 | path = libarchive 318 | url = git://github.com/LuaDist/libarchive.git 319 | [submodule "lgpc"] 320 | path = lgpc 321 | url = git://github.com/LuaDist/lgpc.git 322 | [submodule "lgdbm"] 323 | path = lgdbm 324 | url = git://github.com/LuaDist/lgdbm.git 325 | [submodule "leg"] 326 | path = leg 327 | url = git://github.com/LuaDist/leg.git 328 | [submodule "lcms2"] 329 | path = lcms2 330 | url = git://github.com/LuaDist/lcms2.git 331 | [submodule "lcms"] 332 | path = lcms 333 | url = git://github.com/LuaDist/lcms.git 334 | [submodule "lbci"] 335 | path = lbci 336 | url = git://github.com/LuaDist/lbci.git 337 | [submodule "lbc"] 338 | path = lbc 339 | url = git://github.com/LuaDist/lbc.git 340 | [submodule "lbase64"] 341 | path = lbase64 342 | url = git://github.com/LuaDist/lbase64.git 343 | [submodule "lazykit"] 344 | path = lazykit 345 | url = git://github.com/LuaDist/lazykit.git 346 | [submodule "lascii85"] 347 | path = lascii85 348 | url = git://github.com/LuaDist/lascii85.git 349 | [submodule "lanes"] 350 | path = lanes 351 | url = git://github.com/LuaDist/lanes.git 352 | [submodule "lalarm"] 353 | path = lalarm 354 | url = git://github.com/LuaDist/lalarm.git 355 | [submodule "kepler"] 356 | path = kepler 357 | url = git://github.com/LuaDist/kepler.git 358 | [submodule "gzio"] 359 | path = gzio 360 | url = git://github.com/LuaDist/gzio.git 361 | [submodule "gslshell"] 362 | path = gslshell 363 | url = git://github.com/LuaDist/gslshell.git 364 | [submodule "gsl"] 365 | path = gsl 366 | url = git://github.com/LuaDist/gsl.git 367 | [submodule "gpc"] 368 | path = gpc 369 | url = git://github.com/LuaDist/gpc.git 370 | [submodule "glew"] 371 | path = glew 372 | url = git://github.com/LuaDist/glew.git 373 | [submodule "getopt"] 374 | path = getopt 375 | url = git://github.com/LuaDist/getopt.git 376 | [submodule "genx"] 377 | path = genx 378 | url = git://github.com/LuaDist/genx.git 379 | [submodule "freeglut"] 380 | path = freeglut 381 | url = git://github.com/LuaDist/freeglut.git 382 | [submodule "fcgi"] 383 | path = fcgi 384 | url = git://github.com/LuaDist/fcgi.git 385 | [submodule "etree"] 386 | path = etree 387 | url = git://github.com/LuaDist/etree.git 388 | [submodule "epeg"] 389 | path = epeg 390 | url = git://github.com/LuaDist/epeg.git 391 | [submodule "diluculum"] 392 | path = diluculum 393 | url = git://github.com/LuaDist/diluculum.git 394 | [submodule "diff"] 395 | path = diff 396 | url = git://github.com/LuaDist/diff.git 397 | [submodule "dado"] 398 | path = dado 399 | url = git://github.com/LuaDist/dado.git 400 | [submodule "coxpcall"] 401 | path = coxpcall 402 | url = git://github.com/LuaDist/coxpcall.git 403 | [submodule "cosmo"] 404 | path = cosmo 405 | url = git://github.com/LuaDist/cosmo.git 406 | [submodule "copas"] 407 | path = copas 408 | url = git://github.com/LuaDist/copas.git 409 | [submodule "config"] 410 | path = config 411 | url = git://github.com/LuaDist/config.git 412 | [submodule "concurrentlua"] 413 | path = concurrentlua 414 | url = git://github.com/LuaDist/concurrentlua.git 415 | [submodule "classlib"] 416 | path = classlib 417 | url = git://github.com/LuaDist/classlib.git 418 | [submodule "cheese"] 419 | path = cheese 420 | url = git://github.com/LuaDist/cheese.git 421 | [submodule "cgilua"] 422 | path = cgilua 423 | url = git://github.com/LuaDist/cgilua.git 424 | [submodule "bzip2"] 425 | path = bzip2 426 | url = git://github.com/LuaDist/bzip2.git 427 | [submodule "bitlib"] 428 | path = bitlib 429 | url = git://github.com/LuaDist/bitlib.git 430 | [submodule "bin2clua"] 431 | path = bin2clua 432 | url = git://github.com/LuaDist/bin2clua.git 433 | [submodule "alien"] 434 | path = alien 435 | url = git://github.com/LuaDist/alien.git 436 | [submodule "abelhas"] 437 | path = abelhas 438 | url = git://github.com/LuaDist/abelhas.git 439 | [submodule "luasocket"] 440 | path = luasocket 441 | url = git://github.com/LuaDist/luasocket.git 442 | [submodule "lua"] 443 | path = lua 444 | url = git://github.com/LuaDist/lua.git 445 | [submodule "luafilesystem"] 446 | path = luafilesystem 447 | url = git://github.com/LuaDist/luafilesystem.git 448 | [submodule "lua-stdlib"] 449 | path = lua-stdlib 450 | url = git://github.com/LuaDist/lua-stdlib.git 451 | [submodule "batteries"] 452 | path = batteries 453 | url = git://github.com/LuaDist/batteries.git 454 | [submodule "oil"] 455 | path = oil 456 | url = git://github.com/LuaDist/oil.git 457 | [submodule "librs232"] 458 | path = librs232 459 | url = git://github.com/LuaDist/librs232.git 460 | [submodule "lemock"] 461 | path = lemock 462 | url = git://github.com/LuaDist/lemock.git 463 | [submodule "wsapi"] 464 | path = wsapi 465 | url = git://github.com/LuaDist/wsapi.git 466 | [submodule "vstruct"] 467 | path = vstruct 468 | url = git://github.com/LuaDist/vstruct.git 469 | [submodule "luarocks"] 470 | path = luarocks 471 | url = git://github.com/LuaDist/luarocks.git 472 | [submodule "lua-colors"] 473 | path = lua-colors 474 | url = git://github.com/LuaDist/lua-colors.git 475 | [submodule "lua-matrix"] 476 | path = lua-matrix 477 | url = git://github.com/LuaDist/lua-matrix.git 478 | [submodule "bootstrap"] 479 | path = bootstrap 480 | url = git://github.com/LuaDist/bootstrap.git 481 | [submodule "metalua"] 482 | path = metalua 483 | url = git://github.com/LuaDist/metalua.git 484 | [submodule "curl"] 485 | path = curl 486 | url = git://github.com/LuaDist/curl.git 487 | [submodule "lua-curl"] 488 | path = lua-curl 489 | url = git://github.com/LuaDist/lua-curl.git 490 | [submodule "luasql-postgresql"] 491 | path = luasql-postgresql 492 | url = git://github.com/LuaDist/luasql-postgresql.git 493 | [submodule "luasql-odbc"] 494 | path = luasql-odbc 495 | url = git://github.com/LuaDist/luasql-odbc.git 496 | [submodule "luasql-firebird"] 497 | path = luasql-firebird 498 | url = git://github.com/LuaDist/luasql-firebird.git 499 | [submodule "libsqlite"] 500 | path = libsqlite 501 | url = git://github.com/LuaDist/libsqlite.git 502 | [submodule "wxwidgets"] 503 | path = wxwidgets 504 | url = git://github.com/LuaDist/wxwidgets.git 505 | [submodule "libgd"] 506 | path = libgd 507 | url = git://github.com/LuaDist/libgd.git 508 | [submodule "libmysql"] 509 | path = libmysql 510 | url = git://github.com/LuaDist/libmysql.git 511 | [submodule "moonscript"] 512 | path = moonscript 513 | url = git://github.com/LuaDist/moonscript.git 514 | [submodule "alt-getopt"] 515 | path = alt-getopt 516 | url = git://github.com/LuaDist/alt-getopt.git 517 | [submodule "lua-bit-numberlua"] 518 | path = lua-bit-numberlua 519 | url = git://github.com/LuaDist/lua-bit-numberlua.git 520 | [submodule "lua-compress-deflatelua"] 521 | path = lua-compress-deflatelua 522 | url = git://github.com/LuaDist/lua-compress-deflatelua.git 523 | [submodule "lua-digest-crc32lua"] 524 | path = lua-digest-crc32lua 525 | url = git://github.com/LuaDist/lua-digest-crc32lua.git 526 | [submodule "lua-pythonic-optparse"] 527 | path = lua-pythonic-optparse 528 | url = git://github.com/LuaDist/lua-pythonic-optparse.git 529 | [submodule "luasrcdiet"] 530 | path = luasrcdiet 531 | url = git://github.com/LuaDist/luasrcdiet.git 532 | [submodule "lua-cjson"] 533 | path = lua-cjson 534 | url = git://github.com/LuaDist/lua-cjson.git 535 | [submodule "lua-openssl"] 536 | path = lua-openssl 537 | url = git://github.com/LuaDist/lua-openssl.git 538 | [submodule "libpq"] 539 | path = libpq 540 | url = git://github.com/LuaDist/libpq.git 541 | [submodule "ldoc"] 542 | path = ldoc 543 | url = git://github.com/LuaDist/ldoc.git 544 | [submodule "luadocer"] 545 | path = luadocer 546 | url = git://github.com/LuaDist/luadocer.git 547 | [submodule "luametrics"] 548 | path = luametrics 549 | url = git://github.com/LuaDist/luametrics.git 550 | [submodule "luapretty"] 551 | path = luapretty 552 | url = git://github.com/LuaDist/luapretty.git 553 | [submodule "luadist-git"] 554 | path = luadist-git 555 | url = git://github.com/LuaDist/luadist-git.git 556 | [submodule "lua-testmore"] 557 | path = lua-testmore 558 | url = git://github.com/LuaDist/lua-testmore.git 559 | [submodule "lua-testlongstring"] 560 | path = lua-testlongstring 561 | url = git://github.com/LuaDist/lua-testlongstring.git 562 | [submodule "lua-codegen"] 563 | path = lua-codegen 564 | url = git://github.com/LuaDist/lua-codegen.git 565 | [submodule "lua-spore"] 566 | path = lua-spore 567 | url = git://github.com/LuaDist/lua-spore.git 568 | [submodule "lua-coat"] 569 | path = lua-coat 570 | url = git://github.com/LuaDist/lua-coat.git 571 | [submodule "lua-coatpersistent"] 572 | path = lua-coatpersistent 573 | url = git://github.com/LuaDist/lua-coatpersistent.git 574 | [submodule "lua-zmq"] 575 | path = lua-zmq 576 | url = git://github.com/LuaDist/lua-zmq.git 577 | [submodule "libzmq"] 578 | path = libzmq 579 | url = git://github.com/LuaDist/libzmq.git 580 | [submodule "luanativeobjects"] 581 | path = luanativeobjects 582 | url = git://github.com/LuaDist/luanativeobjects.git 583 | [submodule "tlc"] 584 | path = tlc 585 | url = git://github.com/LuaDist/tlc.git 586 | [submodule "lua-apr"] 587 | path = lua-apr 588 | url = git://github.com/LuaDist/lua-apr.git 589 | [submodule "apr"] 590 | path = apr 591 | url = git://github.com/LuaDist/apr.git 592 | [submodule "lmd5"] 593 | path = lmd5 594 | url = git://github.com/LuaDist/lmd5.git 595 | [submodule "luuid"] 596 | path = luuid 597 | url = git://github.com/LuaDist/luuid.git 598 | [submodule "redis"] 599 | path = redis 600 | url = git://github.com/LuaDist/redis.git 601 | [submodule "lua-hiredis"] 602 | path = lua-hiredis 603 | url = git://github.com/LuaDist/lua-hiredis.git 604 | [submodule "luamotif"] 605 | path = luamotif 606 | url = git://github.com/LuaDist/luamotif.git 607 | [submodule "libbsd"] 608 | path = libbsd 609 | url = git://github.com/LuaDist/libbsd.git 610 | [submodule "srlua"] 611 | path = srlua 612 | url = git://github.com/LuaDist/srlua.git 613 | [submodule "lua-iconv"] 614 | path = lua-iconv 615 | url = git://github.com/LuaDist/lua-iconv.git 616 | [submodule "libiconv"] 617 | path = libiconv 618 | url = git://github.com/LuaDist/libiconv.git 619 | [submodule "lcomplex"] 620 | path = lcomplex 621 | url = git://github.com/LuaDist/lcomplex.git 622 | [submodule "orbit"] 623 | path = orbit 624 | url = git://github.com/LuaDist/orbit.git 625 | [submodule "lua-xmlrpc"] 626 | path = lua-xmlrpc 627 | url = git://github.com/LuaDist/lua-xmlrpc.git 628 | [submodule "mk"] 629 | path = mk 630 | url = git://github.com/LuaDist/mk.git 631 | [submodule "wsapi_basic_auth"] 632 | path = wsapi_basic_auth 633 | url = git://github.com/LuaDist/wsapi_basic_auth.git 634 | [submodule "lapack"] 635 | path = lapack 636 | url = git://github.com/LuaDist/lapack.git 637 | [submodule "lua-uri"] 638 | path = lua-uri 639 | url = git://github.com/LuaDist/lua-uri.git 640 | [submodule "lua-signal"] 641 | path = lua-signal 642 | url = git://github.com/LuaDist/lua-signal.git 643 | [submodule "lua-tinycdb"] 644 | path = lua-tinycdb 645 | url = git://github.com/LuaDist/lua-tinycdb.git 646 | [submodule "lua-memoryfile"] 647 | path = lua-memoryfile 648 | url = git://github.com/LuaDist/lua-memoryfile.git 649 | [submodule "lua-discount"] 650 | path = lua-discount 651 | url = git://github.com/LuaDist/lua-discount.git 652 | [submodule "lua-tokyocabinet"] 653 | path = lua-tokyocabinet 654 | url = git://github.com/LuaDist/lua-tokyocabinet.git 655 | [submodule "luasql"] 656 | path = luasql 657 | url = git://github.com/LuaDist/luasql.git 658 | [submodule "freetype"] 659 | path = freetype 660 | url = git://github.com/LuaDist/freetype.git 661 | [submodule "im"] 662 | path = im 663 | url = git://github.com/LuaDist/im.git 664 | [submodule "iup"] 665 | path = iup 666 | url = git://github.com/LuaDist/iup.git 667 | [submodule "cd"] 668 | path = cd 669 | url = git://github.com/LuaDist/cd.git 670 | [submodule "cd-examples"] 671 | path = cd-examples 672 | url = git://github.com/LuaDist/cd-examples.git 673 | [submodule "im-examples"] 674 | path = im-examples 675 | url = git://github.com/LuaDist/im-examples.git 676 | [submodule "iup-examples"] 677 | path = iup-examples 678 | url = git://github.com/LuaDist/iup-examples.git 679 | [submodule "squish"] 680 | path = squish 681 | url = git://github.com/LuaDist/squish.git 682 | [submodule "luapgsql"] 683 | path = luapgsql 684 | url = git://github.com/LuaDist/luapgsql.git 685 | [submodule "sigar"] 686 | path = sigar 687 | url = git://github.com/LuaDist/sigar.git 688 | [submodule "lrexlib-tre"] 689 | path = lrexlib-tre 690 | url = git://github.com/LuaDist/lrexlib-tre.git 691 | [submodule "lrexlib-oniguruma"] 692 | path = lrexlib-oniguruma 693 | url = git://github.com/LuaDist/lrexlib-oniguruma.git 694 | [submodule "lrexlib-gnu"] 695 | path = lrexlib-gnu 696 | url = git://github.com/LuaDist/lrexlib-gnu.git 697 | [submodule "lrexlib-pcre"] 698 | path = lrexlib-pcre 699 | url = git://github.com/LuaDist/lrexlib-pcre.git 700 | [submodule "lrexlib-posix"] 701 | path = lrexlib-posix 702 | url = git://github.com/LuaDist/lrexlib-posix.git 703 | [submodule "tre"] 704 | path = tre 705 | url = git://github.com/LuaDist/tre.git 706 | [submodule "ninja"] 707 | path = ninja 708 | url = git://github.com/LuaDist/ninja.git 709 | [submodule "lua-git"] 710 | path = lua-git 711 | url = git://github.com/LuaDist/lua-git.git 712 | [submodule "mobdebug"] 713 | path = mobdebug 714 | url = git://github.com/LuaDist/mobdebug.git 715 | [submodule "zerobranestudio"] 716 | path = zerobranestudio 717 | url = git://github.com/LuaDist/zerobranestudio.git 718 | [submodule "30log"] 719 | path = 30log 720 | url = git://github.com/LuaDist/30log.git 721 | [submodule "ansicolors"] 722 | path = ansicolors 723 | url = git://github.com/LuaDist/ansicolors.git 724 | [submodule "asklua"] 725 | path = asklua 726 | url = git://github.com/LuaDist/asklua.git 727 | [submodule "luadist-activate"] 728 | path = luadist-activate 729 | url = git://github.com/LuaDist/luadist-activate.git 730 | [submodule "winapi"] 731 | path = winapi 732 | url = git://github.com/LuaDist/winapi.git 733 | [submodule "bencode"] 734 | path = bencode 735 | url = git://github.com/LuaDist/bencode.git 736 | [submodule "bit32"] 737 | path = bit32 738 | url = git://github.com/LuaDist/bit32.git 739 | [submodule "busted"] 740 | path = busted 741 | url = git://github.com/LuaDist/busted.git 742 | [submodule "lua_cliargs"] 743 | path = lua_cliargs 744 | url = git://github.com/LuaDist/lua_cliargs.git 745 | [submodule "dkjson"] 746 | path = dkjson 747 | url = git://github.com/LuaDist/dkjson.git 748 | [submodule "say"] 749 | path = say 750 | url = git://github.com/LuaDist/say.git 751 | [submodule "luassert"] 752 | path = luassert 753 | url = git://github.com/LuaDist/luassert.git 754 | [submodule "lua-zlib"] 755 | path = lua-zlib 756 | url = git://github.com/LuaDist/lua-zlib.git 757 | [submodule "intellua"] 758 | path = intellua 759 | url = git://github.com/LuaDist/intellua.git 760 | [submodule "lsocket"] 761 | path = lsocket 762 | url = git://github.com/LuaDist/lsocket.git 763 | [submodule "lpty"] 764 | path = lpty 765 | url = git://github.com/LuaDist/lpty.git 766 | [submodule "lub"] 767 | path = lub 768 | url = git://github.com/LuaDist/lub.git 769 | [submodule "lut"] 770 | path = lut 771 | url = git://github.com/LuaDist/lut.git 772 | [submodule "lua-websockets"] 773 | path = lua-websockets 774 | url = git://github.com/LuaDist/lua-websockets.git 775 | [submodule "libev"] 776 | path = libev 777 | url = git://github.com/LuaDist/libev.git 778 | [submodule "lua-ev"] 779 | path = lua-ev 780 | url = git://github.com/LuaDist/lua-ev.git 781 | [submodule "luadist"] 782 | path = luadist 783 | url = git://github.com/LuaDist/luadist.git 784 | [submodule "lua_bufflib"] 785 | path = lua_bufflib 786 | url = git://github.com/LuaDist/lua_bufflib.git 787 | [submodule "libsophia"] 788 | path = libsophia 789 | url = git://github.com/LuaDist/libsophia.git 790 | [submodule "lua-sophia"] 791 | path = lua-sophia 792 | url = git://github.com/LuaDist/lua-sophia.git 793 | [submodule "mingw"] 794 | url = git://github.com/LuaDist/mingw.git 795 | path = mingw 796 | [submodule "lua-llthreads"] 797 | path = lua-llthreads 798 | url = git://github.com/LuaDist/lua-llthreads.git 799 | [submodule "xml"] 800 | path = xml 801 | url = git://github.com/LuaDist/xml.git 802 | [submodule "lua-llthreads2"] 803 | path = lua-llthreads2 804 | url = git://github.com/LuaDist/lua-llthreads2.git 805 | [submodule "lua-llthreads2-compat"] 806 | path = lua-llthreads2-compat 807 | url = git://github.com/LuaDist/lua-llthreads2-compat.git 808 | [submodule "lua-log"] 809 | path = lua-log 810 | url = git://github.com/LuaDist/lua-log.git 811 | [submodule "lua-sendmail"] 812 | path = lua-sendmail 813 | url = git://github.com/LuaDist/lua-sendmail.git 814 | [submodule "lua-pdh"] 815 | path = lua-pdh 816 | url = git://github.com/LuaDist/lua-pdh.git 817 | [submodule "lua-AesFileEncrypt"] 818 | path = lua-AesFileEncrypt 819 | url = git://github.com/LuaDist/lua-AesFileEncrypt.git 820 | [submodule "lua-pop3"] 821 | path = lua-pop3 822 | url = git://github.com/LuaDist/lua-pop3.git 823 | [submodule "lua-path"] 824 | path = lua-path 825 | url = git://github.com/LuaDist/lua-path.git 826 | [submodule "struct"] 827 | path = struct 828 | url = git://github.com/LuaDist/struct.git 829 | [submodule "lzmq"] 830 | path = lzmq 831 | url = git://github.com/LuaDist/lzmq.git 832 | [submodule "lua-odbc"] 833 | path = lua-odbc 834 | url = git://github.com/LuaDist/lua-odbc.git 835 | [submodule "ZipWriter"] 836 | path = ZipWriter 837 | url = git://github.com/LuaDist/ZipWriter.git 838 | [submodule "lzmq-ffi"] 839 | path = lzmq-ffi 840 | url = git://github.com/LuaDist/lzmq-ffi.git 841 | [submodule "lualiterate"] 842 | path = lualiterate 843 | url = git://github.com/LuaDist/lualiterate.git 844 | [submodule "luacomments"] 845 | path = luacomments 846 | url = git://github.com/LuaDist/luacomments.git 847 | [submodule "sdl"] 848 | path = sdl 849 | url = git://github.com/LuaDist/sdl.git 850 | [submodule "lutok"] 851 | path = lutok 852 | url = git://github.com/LuaDist/lutok.git 853 | [submodule "xlsxwriter"] 854 | path = xlsxwriter 855 | url = git://github.com/LuaDist/xlsxwriter.git 856 | [submodule "basexx"] 857 | path = basexx 858 | url = git://github.com/LuaDist/basexx.git 859 | [submodule "lua-cmsgpack"] 860 | path = lua-cmsgpack 861 | url = git://github.com/LuaDist/lua-cmsgpack.git 862 | [submodule "tolua"] 863 | path = tolua 864 | url = git://github.com/LuaDist/tolua.git 865 | [submodule "getdoc"] 866 | path = getdoc 867 | url = git://github.com/LuaDist/getdoc.git 868 | [submodule "mediator_lua"] 869 | path = mediator_lua 870 | url = git://github.com/LuaDist/mediator_lua.git 871 | [submodule "lua-plantuml"] 872 | path = lua-plantuml 873 | url = git://github.com/LuaDist/lua-plantuml.git 874 | [submodule "StackTracePlus"] 875 | path = StackTracePlus 876 | url = git://github.com/LuaDist/StackTracePlus.git 877 | [submodule "luasystem"] 878 | path = luasystem 879 | url = git://github.com/LuaDist/luasystem.git 880 | [submodule "lua-term"] 881 | path = lua-term 882 | url = git://github.com/LuaDist/lua-term.git 883 | [submodule "luacheck"] 884 | path = luacheck 885 | url = git://github.com/LuaDist/luacheck.git 886 | [submodule "lua-resty-template"] 887 | path = lua-resty-template 888 | url = git://github.com/LuaDist/lua-resty-template.git 889 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # 2 | # LuaDist Travis-CI Hook 3 | # 4 | 5 | # Use VMs for C 6 | language: C 7 | 8 | # We need CMake 9 | install: 10 | - sudo apt-get -qq install cmake >/dev/null 2>&1 11 | 12 | # Make sure installing works 13 | script: 14 | - ./install lua 15 | 16 | # List bootstrap modules 17 | after_script: 18 | - _install/bin/lua -e "print(_VERSION)" 19 | 20 | # Only watch the master branch 21 | branches: 22 | only: 23 | - master 24 | 25 | # Notify the LuaDist Dev group if needed 26 | notifications: 27 | recipients: 28 | - luadist-dev@googlegroups.com 29 | email: 30 | on_success: change 31 | on_failure: always 32 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2011 LuaDist 2 | # Redistribution and use of this file is allowed according to the terms of the MIT license. 3 | # For details see the COPYRIGHT file distributed with LuaDist. 4 | # Please note that the package source code is licensed under its own license. 5 | # 6 | # This is a straightforward installer for LuaDist modules. 7 | 8 | set ( CMAKE_LEGACY_CYGWIN_WIN32 0 ) 9 | project ( luadist_installer NONE ) 10 | cmake_minimum_required ( VERSION 2.8 ) 11 | include ( ExternalProject ) 12 | 13 | ## BASIC SETTINGS 14 | # Build Release by default 15 | if ( NOT CMAKE_BUILD_TYPE) 16 | set ( CMAKE_BUILD_TYPE "MinSizeRel" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE ) 17 | endif () 18 | 19 | # Install dists required for bootstrap by default 20 | set ( DISTS bootstrap CACHE STRING "List of dists to install (in order)." ) 21 | string ( REPLACE " " ";" DISTS "${DISTS}" ) 22 | 23 | # Generate cache 24 | configure_file ( config.in ${CMAKE_CURRENT_BINARY_DIR}/config.cmake ) 25 | 26 | ## EXTERNAL PROJECTS 27 | # Download and build external project using generated cache 28 | macro ( install_dist _DIST ) 29 | string ( REGEX MATCH "^([a-zA-Z0-9]+[a-zA-Z0-9_.:-]*[a-zA-Z0-9]+)-?([^-]*)$" _DIST_NAME ${_DIST} ) 30 | set ( _DIST_NAME ${CMAKE_MATCH_1} ) 31 | set ( _DIST_VER ${CMAKE_MATCH_2} ) 32 | 33 | # If no specific version was requested 34 | if ( _DIST_VER STREQUAL "" ) 35 | # Use master branch 36 | set ( _DIST_VER master ) 37 | endif () 38 | 39 | # Use local submodules if they are availble, use git if not 40 | if ( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_DIST_NAME}/CMakeLists.txt ) 41 | set ( _DIST_SOURCE SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/${_DIST_NAME} ) 42 | else () 43 | set ( _DIST_SOURCE GIT_REPOSITORY http://github.com/LuaDist/${_DIST_NAME}.git GIT_TAG ${_DIST_VER} ) 44 | endif () 45 | 46 | # Build project using the generated settings in cache 47 | ExternalProject_Add( ${_DIST_NAME} 48 | PREFIX ${_DIST_NAME}-${_DIST_VER} 49 | ${_DIST_SOURCE} 50 | BINARY_DIR ${_DIST_NAME}-${_DIST_VER} 51 | INSTALL_DIR ${CMAKE_INSTALL_PREFIX} 52 | CMAKE_ARGS -C ${CMAKE_CURRENT_BINARY_DIR}/config.cmake 53 | DEPENDS ${_PREV} 54 | ) 55 | set ( _PREV ${_DIST_NAME}) 56 | list ( APPEND DEPS ${_DIST_NAME} ) 57 | endmacro () 58 | 59 | # Chanin to build all dists 60 | foreach ( DIST ${DISTS} ) 61 | install_dist ( ${DIST} ) 62 | endforeach () 63 | 64 | ## INSTALL 65 | # Depend on the dist depencency chain 66 | add_custom_target ( install 67 | COMMAND echo "Installation Complete." 68 | DEPENDS ${_PREV} 69 | ) 70 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Primary LuaDist Repository 2 | ========================== 3 | 4 | [![Build Status](https://secure.travis-ci.org/LuaDist/Repository.png?branch=master)](http://travis-ci.org/LuaDist/Repository) 5 | 6 | This repository aggregates all the supported modules of the LuaDist project. Its primary purpose is to provide a manifest for modules. Modules are referenced using [git submodules][sub] and should always point to individual module repositories in the LuaDist project. Its secondary purpose is to act as an install and bootstrap process for LuaDist based installations. 7 | 8 | This repository contains an installation script that allows automated building of LuaDist modules. There are two modes of operation available. First mode is for bootstrapping the _luadist_ deployment utility that offers complete package management functionality and automated dependency resolving. However this requires compilation of _openssl_ and other utilities you may not want. 9 | 10 | The second mode of operation directly checks out repositories using git or available submodules and installs the modules without dependency handling. Using this approach you can tailor your distribution from ground up without unneeded dependencies. 11 | 12 | Bootstraping LuaDist deployment tool 13 | --- 14 | 15 | Please make sure your system has git, CMake 2.8 and a compiler tool-chain available. On Ubuntu this requires git, cmake, build-essential. This build will take quite a while to compile, please be patient. 16 | 17 | ```bash 18 | git clone git://github.com/LuaDist/Repository.git 19 | cd Repository 20 | git submodule update --init --recursive bootstrap 21 | ./install bootstrap 22 | ``` 23 | 24 | Once the installation finishes the LuaDist folder should contain a fully versioned LuaDist distribution. 25 | 26 | ```bash 27 | cd _install/bin 28 | ./luadist list # lists installed modules 29 | ./luadist search # lists online repository 30 | ./luadist install luaexpat # installs luaexpat 31 | ``` 32 | 33 | Using the install script to generate distribution without versioning. 34 | --- 35 | 36 | To make a distribution containing luajit, luasocket and luafilesystem you can use the install utility directly: 37 | 38 | ```bash 39 | ./install luajit luasocket luafilesystem 40 | ``` 41 | 42 | Note that this mode of installation installs most recent versions of modules and does not handle dependencies automatically. If you checked out any of the modules using submodules the utility will use the local files, otherwise it will access remote git repositories. However, the installation script is able to install specific tags of modules. It is up to you to install correct dependencies, otherwise the distribution may be unusable. 43 | 44 | ```bash 45 | ./install lua-5.1.4 md5-1.1.2 46 | ./_install/bin/lua 47 | > require "md5" 48 | ``` 49 | 50 | Cloning 51 | ------- 52 | 53 | To clone the full repository: 54 | 55 | ```bash 56 | git clone git://github.com/LuaDist/Repository.git 57 | cd Repository 58 | git submodule update --init --recursive 59 | ``` 60 | 61 | To clone individual modules you can specify the module name as follows: 62 | 63 | ```bash 64 | git submodule update --init --recursive lua 65 | ``` 66 | 67 | Note that submodules do not point to latest versions of modules but rather to _stable_ versions. To update to latest version do: 68 | 69 | ```bash 70 | cd module 71 | git checkout master 72 | git pull 73 | ``` 74 | 75 | By default all submodules are accessed using the `git://` protocol. Developers can update all remotes to support push through ssl as reqired by GitHub using the following command: 76 | 77 | ```bash 78 | git submodule foreach 'git remote set-url --push origin git@github.com:LuaDist/$path.git' 79 | ``` 80 | 81 | We also recommend switching all submodules to the master branch using the following command: 82 | 83 | ```bash 84 | git submodule foreach 'git checkout master && git pull' 85 | ``` 86 | 87 | Contributing 88 | ------------ 89 | 90 | 1. Submit a [issue][issue] with a link to your git repository of the module. 91 | 2. A maintainer will fork the module into LuaDist grant you the rights to push changes into it. 92 | 3. The maintainer will add a submodule referencing the forked module into this LuaDist/Repository. 93 | 94 | Call for Maintainers 95 | -------------------- 96 | 97 | If you would like to help us maintain the repository and update modules without maintainers you are more than welcome. Please contact us at our [development list][mail] 98 | 99 | [sub]: http://github.com/guides/developing-with-submodules 100 | [issue]: http://github.com/LuaDist/Repository/issues 101 | [mail]: http://groups.google.com/group/luadist 102 | -------------------------------------------------------------------------------- /config.in: -------------------------------------------------------------------------------- 1 | ## Global settings for LuaDist 2 | # NOTE these settings HAVE to be CACHE FORCE to take precedence. 3 | 4 | # Basic (Obrained from master script) 5 | set ( CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE STRING "Installation destination." FORCE ) 6 | set ( CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING "Build type." FORCE ) 7 | set ( CMAKE_INCLUDE_PATH "${CMAKE_INSTALL_PREFIX}/include" CACHE STRING "Where to search for headers." FORCE ) 8 | set ( CMAKE_LIBRARY_PATH "${CMAKE_INSTALL_PREFIX}/lib" CACHE STRING "Where to search for libraries." FORCE ) 9 | set ( CMAKE_PROGRAM_PATH "${CMAKE_INSTALL_PREFIX}/bin" CACHE STRING "Where to search for applications." FORCE ) 10 | 11 | # RPath functionality 12 | set ( CMAKE_SKIP_BUILD_RPATH FALSE CACHE STRING "" FORCE ) 13 | set ( CMAKE_BUILD_WITH_INSTALL_RPATH FALSE CACHE STRING "" FORCE ) 14 | set ( CMAKE_INSTALL_RPATH $ORIGIN/../lib CACHE STRING "" FORCE ) 15 | set ( CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE STRING "" FORCE ) 16 | set ( CMAKE_INSTALL_NAME_DIR @executable_path/../lib CACHE STRING "" FORCE ) 17 | 18 | # Install Paths 19 | set ( INSTALL_BIN bin CACHE STRING "Where to install binaries to." FORCE ) 20 | set ( INSTALL_LIB lib CACHE STRING "Where to install libraries to." FORCE ) 21 | set ( INSTALL_INC include CACHE STRING "Where to install headers to." FORCE ) 22 | set ( INSTALL_ETC etc CACHE STRING "Where to store configuration files." FORCE ) 23 | set ( INSTALL_SHARE share CACHE STRING "Where to install package data." FORCE ) 24 | set ( INSTALL_LMOD lib/lua CACHE STRING "Directory to install Lua modules." FORCE ) 25 | set ( INSTALL_CMOD lib/lua CACHE STRING "Directory to install Lua binary modules." FORCE ) 26 | 27 | # Install skip options 28 | set ( SKIP_TESTING OFF CACHE STRING "Do not test packages." FORCE ) 29 | set ( SKIP_LUA_WRAPPER OFF CACHE STRING "Do not generate binary wrappers." FORCE ) 30 | set ( SKIP_INSTALL_DATA OFF CACHE STRING "Do not install any package data." FORCE ) 31 | set ( SKIP_INSTALL_DOC OFF CACHE STRING "Do not install documentation." FORCE ) 32 | set ( SKIP_INSTALL_EXAMPLE OFF CACHE STRING "Do not install examples." FORCE ) 33 | set ( SKIP_INSTALL_TEST OFF CACHE STRING "Do not install tests." FORCE ) 34 | set ( SKIP_INSTALL_FOO OFF CACHE STRING "Do not install additional files." FORCE ) 35 | 36 | # Other (eg. cross-compile settings) 37 | #set ( LUA_STATIC_MODULE True CACHE STRING "Build static modules." FORCE ) 38 | #set ( BUILD_SHARED_LIBS False CACHE STRING "Build shared libs." FORCE ) 39 | -------------------------------------------------------------------------------- /install: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright (C) 2011 LuaDist 3 | # Redistribution and use of this file is allowed according to the terms of the MIT license. 4 | # For details see the COPYRIGHT file distributed with LuaDist. 5 | # Please note that the package source code is licensed under its own license. 6 | # dsa 7 | # Install all dists from repository into current directory 8 | # In case it is called in the repository it will install into _install folder 9 | # 10 | REPO=`dirname "$(cd ${0%/*} && echo $PWD/${0##*/})"` 11 | DEPL=$PWD 12 | DISTS=$* 13 | 14 | # If in the repository install to _install 15 | if [ "$REPO" = "$DEPL" ] 16 | then 17 | DEPL=$DEPL/_install 18 | fi 19 | 20 | # Help 21 | if [ "$1" = "" ] 22 | then 23 | echo "LuaDist direct install utility." 24 | echo "This utility will install LuaDist modules into current directory. If called in the repository it will install into '_install' folder to avoid collisions. Modules to install are identified by name or name-version arguments. The installation will use sources from the Repository if they are available, if not it will look for the git repository directly." 25 | echo "WARNING: This utility does not automatically install dependencies. Consider bootstrapping the automated deployment utility." 26 | echo "USE: ./install [module_name-module_ver] [module_name]" 27 | exit 28 | fi 29 | 30 | # Prevent root install 31 | if [ "$DEPL" = "/" ] 32 | then 33 | echo "WARNING: LuaDist was not designed to install into the host operating system. Consider using /usr/local or /opt/luadist instead." 34 | exit 35 | fi 36 | 37 | echo "Installing: $*" 38 | echo "Destination: $DEPL" 39 | echo "Repository: $REPO" 40 | 41 | # Install (this may fail on 2.8.2 cmake, but will generate successful install) 42 | mkdir -p "$DEPL/tmp/install" && cd "$DEPL/tmp/install" && cmake "$REPO" -DCMAKE_INSTALL_PREFIX="$DEPL" -DDISTS="$DISTS" 43 | cmake --build "$DEPL/tmp/install" --target install -- 44 | -------------------------------------------------------------------------------- /install.bat: -------------------------------------------------------------------------------- 1 | :: Copyright (C) 2011-2013 LuaDist 2 | :: Redistribution and use of this file is allowed according to the terms of the MIT license. 3 | :: For details see the COPYRIGHT file distributed with LuaDist. 4 | :: Please note that the package source code is licensed under its own license. 5 | :: 6 | :: Install all dists from repository into current directory 7 | :: In case it is called in the repository it will install into _install folder 8 | @echo off 9 | setlocal 10 | set CMAKE=cmake 11 | set REPO=%~dp0 12 | set REPO=%REPO:~0,-1% 13 | set DEPL=%CD% 14 | set DISTS=%* 15 | set SHELL=cmd.exe 16 | 17 | if "%1"=="" goto :help 18 | if "%REPO%"=="%DEPL%" set DEPL=%DEPL%\_install 19 | 20 | echo Installing: %* 21 | echo Destination: %DEPL% 22 | echo Repository: %REPO% 23 | 24 | mkdir "%DEPL%\tmp\install" 25 | cd "%DEPL%\tmp\install" && %CMAKE% "%REPO%" -G"MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="%DEPL%" -DDISTS="%DISTS%" 26 | %CMAKE% --build "%DEPL%\tmp\install" --target install -- -j 27 | goto :exit 28 | 29 | :help 30 | echo LuaDist direct install utility. 31 | echo This utility will install LuaDist modules into current directory. If called in the repository it will install into '_install' folder to avoid collisions. Modules to install are identified by name or name-version arguments. The installation will use sources from the Repository if they are available, if not it will look for the git repository directly. 32 | echo WARNING: This utility does not automatically install dependencies. Consider bootstrapping the automated deployment utility. 33 | echo USE: install.bat [module_name-module_ver] [module_name] 34 | echo BOOTSTRAP: install.bat bootstrap 35 | 36 | :exit 37 | endlocal 38 | --------------------------------------------------------------------------------