diff options
Diffstat (limited to 'luasystem-scm-0.rockspec')
-rw-r--r-- | luasystem-scm-0.rockspec | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/luasystem-scm-0.rockspec b/luasystem-scm-0.rockspec index 1093ac4..74e301d 100644 --- a/luasystem-scm-0.rockspec +++ b/luasystem-scm-0.rockspec | |||
@@ -1,17 +1,28 @@ | |||
1 | package = 'luasystem' | 1 | local package_name = "luasystem" |
2 | version = 'scm-0' | 2 | local package_version = "scm" |
3 | local rockspec_revision = "0" | ||
4 | local github_account_name = "lunarmodules" | ||
5 | local github_repo_name = "luasystem" | ||
6 | |||
7 | |||
8 | package = package_name | ||
9 | version = package_version.."-"..rockspec_revision | ||
10 | |||
3 | source = { | 11 | source = { |
4 | url = "git://github.com/o-lim/luasystem", | 12 | url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git", |
5 | branch = "master" | 13 | branch = (package_version == "scm") and "master" or nil, |
14 | tag = (package_version ~= "scm") and package_version or nil, | ||
6 | } | 15 | } |
16 | |||
7 | description = { | 17 | description = { |
8 | summary = 'Platform independent system calls for Lua.', | 18 | summary = 'Platform independent system calls for Lua.', |
9 | detailed = [[ | 19 | detailed = [[ |
10 | Adds a Lua API for making platform independent system calls. | 20 | Adds a Lua API for making platform independent system calls. |
11 | ]], | 21 | ]], |
12 | homepage = 'http://olivinelabs.com/luasystem/', | 22 | license = 'MIT <http://opensource.org/licenses/MIT>', |
13 | license = 'MIT <http://opensource.org/licenses/MIT>' | 23 | homepage = "https://github.com/"..github_account_name.."/"..github_repo_name, |
14 | } | 24 | } |
25 | |||
15 | dependencies = { | 26 | dependencies = { |
16 | 'lua >= 5.1', | 27 | 'lua >= 5.1', |
17 | } | 28 | } |