Advertisement
Choonster

Choonster_lzlib-0.3-2.rockspec_2012-03-01

Feb 29th, 2012
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.02 KB | None | 0 0
  1. package="lzlib"
  2. version="0.3-2"
  3. source = {
  4.    url = "http://luaforge.net/frs/download.php/3059/lzlib-0.3.tar.gz",
  5.    md5 = "4ed15c23b2dc80b10d2cabbf1ed88a99"
  6. }
  7. description = {
  8.    summary = "Lua bindings to the ZLib compression library",
  9.    detailed = [[
  10.       This package provides a library to access zlib library functions
  11.       and also to read/write gzip files using an interface similar
  12.       to the base io package.
  13.    ]],
  14.    homepage = "http://luaforge.net/projects/lzlib/",
  15.    license = "MIT/X11"
  16. }
  17. dependencies = {
  18.    "lua >= 5.1"
  19. }
  20. external_dependencies = {
  21.    ZLIB = {
  22.       header = "zlib.h",
  23.       library = "z",
  24.    }
  25. }
  26. build = {
  27.    type = "builtin",
  28.    modules = {
  29.       zlib = {
  30.          sources = "lzlib.c",
  31.          libdirs = "$(ZLIB_LIBDIR)",
  32.          incdirs = "$(ZLIB_INCDIR)",
  33.          libraries = "zlibwapi"
  34.       },
  35.       gzip = {
  36.          sources = "lgzip.c",
  37.          libdirs = "$(ZLIB_LIBDIR)",
  38.          incdirs = "$(ZLIB_INCDIR)",
  39.          libraries = "zlibwapi",
  40.       },
  41.    }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement