-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
48 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", "") | ||
} | ||
} |