Skip to content

Commit

Permalink
Added a not-scm rockspec
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffleyland committed Sep 6, 2016
1 parent 2644cc9 commit 5ffc23b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions rockspecs/mmapfile-2-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package = "mmapfile"
version = "2-1"
source =
{
url = "git://github.com/geoffleyland/lua-mmapfile.git",
branch = "master",
tag = "v2",
}
description =
{
summary = "Simple memory-mapped files",
homepage = "http://github.com/geoffleyland/lua-mmapfile",
license = "MIT/X11",
maintainer = "Geoff Leyland <geoff.leyland@incremental.co.nz>"
}
dependencies =
{
'lua == 5.1', -- should be "luajit >= 2.0.0"
platforms =
{
linux = { 'ljsyscall >= 0.9' },
macosx = { 'ljsyscall >= 0.9' },
}
}
build =
{
type = "builtin",
modules =
{
mmapfile = "src-lua/mmapfile.lua",
["mmapfile.unix"] = "src-lua/mmapfile/unix.lua",
["mmapfile.windows"] = "src-lua/mmapfile/windows.lua",
},
}
2 changes: 1 addition & 1 deletion rockspecs/mmapfile-scm-2.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies =
platforms =
{
linux = { 'ljsyscall >= 0.9' },
macosx = { 'ljsyscall >= 0.9' },
macosx = { 'ljsyscall >= 0.9' },
}
}
build =
Expand Down

0 comments on commit 5ffc23b

Please sign in to comment.