~ubuntu-branches/ubuntu/vivid/lua-wsapi/vivid

« back to all changes in this revision

Viewing changes to rockspec/wsapi-1.2-1.rockspec

  • Committer: Bazaar Package Importer
  • Author(s): Enrico Tassi
  • Date: 2011-08-13 19:33:46 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110813193346-43mc6niylgt084u0
Tags: 1.5-1
* New upstream release (Closes: #636232)
* fixed watch file (thanks Roland Stigge)
* refreshed patch lanuchers.patch (also renamed)
* removed patch sheebang.patch, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package = "WSAPI"
 
2
 
 
3
version = "1.2-1"
 
4
 
 
5
description = {
 
6
  summary = "Lua Web Server API",
 
7
  detailed = [[
 
8
    WSAPI is an API that abstracts the web server from Lua web applications. This is the rock
 
9
    that contains the base WSAPI libraries plus the CGI adapters.
 
10
  ]],
 
11
  license = "MIT/X11",
 
12
  homepage = "http://www.keplerproject.org/wsapi"
 
13
}
 
14
 
 
15
dependencies = { "luafilesystem >= 1.4.2" }
 
16
 
 
17
source = {
 
18
  url = "http://cloud.github.com/downloads/keplerproject/wsapi/wsapi-1.2.tar.gz"
 
19
}
 
20
 
 
21
build = {
 
22
   platforms = {
 
23
     unix = {
 
24
        type = "module",
 
25
        modules = {
 
26
          ["wsapi.common"] = "src/wsapi/common.lua",
 
27
          ["wsapi.request"] = "src/wsapi/request.lua",
 
28
          ["wsapi.response"] = "src/wsapi/response.lua",
 
29
          ["wsapi.util"] = "src/wsapi/util.lua",
 
30
          ["wsapi.cgi"] = "src/wsapi/cgi.lua",
 
31
          ["wsapi.sapi"] = "src/wsapi/sapi.lua",
 
32
          ["wsapi.ringer"] = "src/wsapi/ringer.lua",
 
33
        },
 
34
        copy_directories = { "samples", "doc", "tests" },
 
35
        install = { bin = { "src/launcher/wsapi.cgi" } }
 
36
     },
 
37
     win32 = {
 
38
        type = "make",
 
39
        build_pass = true,
 
40
        build_target = "cgi",
 
41
        build_variables = {
 
42
         LUA_INCLUDE = "$(LUA_INCDIR)",
 
43
         LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib"
 
44
        },
 
45
        install_target = "install-rocks",
 
46
        install_variables = {
 
47
          PREFIX  = "$(PREFIX)",
 
48
          LUA_BIN = "/usr/bin/env lua",
 
49
          LUA_DIR = "$(LUADIR)",
 
50
          BIN_DIR = "$(BINDIR)"
 
51
        },
 
52
     }
 
53
   }
 
54
}