Skip to content

Commit

Permalink
Update and fixes rockspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
xpol committed Jan 13, 2016
1 parent 84e99c1 commit 4207c46
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 48 deletions.
48 changes: 0 additions & 48 deletions rapidjson-0.3.0-1.rockspec

This file was deleted.

42 changes: 42 additions & 0 deletions rapidjson-0.3.1-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
package = "rapidjson"
version = "0.3.1-1"
source = {
url = "git://github.com/xpol/lua-rapidjson",
tag = "v0.3.1"
}
description = {
summary = "Very fast json module based on RapidJSON.",
detailed = [[
A very fast json module for LuaJIT and Lua 5.1/5.2.
Based on the very fast json library RapidJSON.
Provided API:
- `rapidjson.decode()` decode json to lua table.
- `rapidjson.encode()` encode lua table to json string.
- `rapidjson.load()` load json file into lua table.
- `rapidjson.dump()` dump lua table to json file.
]],
homepage = "https://github.com/xpol/lua-rapidjson",
license = "MIT"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "cmake",
platforms = {
windows = {
variables = {
LUA_LIBRARIES = "$(LUA_LIBDIR)/$(LUALIB)"
}
}
},
variables = {
BUILD_SHARED_LIBS = "ON",
CMAKE_INSTALL_PREFIX = "$(PREFIX)",
LUA_INCLUDE_DIR = "$(LUA_INCDIR)",
LUA_RAPIDJSON_VERSION = version:gsub("%-%d", "")
}
}

0 comments on commit 4207c46

Please sign in to comment.