Permalink
Browse files

added rockspecs

  • Loading branch information...
1 parent f204993 commit bcebea2fee26ad4a4292382c23719c8f6122cb09 @agladysh agladysh committed with Apr 19, 2010
Showing with 122 additions and 0 deletions.
  1. +61 −0 rockspec/lua-ev-1.0-1.rockspec
  2. +61 −0 rockspec/lua-ev-scm-1.rockspec
@@ -0,0 +1,61 @@
+package = "lua-ev"
+version = "1.0-1"
+
+source = {
+ url = "http://download.github.com/brimworks-lua-ev-7a4b879.tar.gz"
+}
+
+description = {
+ summary = "Lua integration with libev",
+ detailed = [[
+ lua-ev: Lua integration with libev (http://dist.schmorp.de/libev)
+ ]],
+ homepage = "http://github.com/brimworks/lua-ev",
+ license = "MIT/X11"
+}
+
+dependencies = {
+ "lua >= 5.1"
+}
+
+external_dependencies = {
+ LIBEV = {
+ header = "ev.h",
+ library = "libev.so"
+ },
+ PTHREADS = {
+ header = "pthread.h",
+ },
+ platforms = {
+ linux = {
+ PTHREADS = {
+ library = "libpthread.so"
+ }
+ }
+ }
+}
+
+build = {
+ type = "builtin",
+ modules = {
+ ev = {
+ sources = {
+ "lua_ev.c"
+ },
+ libraries = {
+ "ev"
+ }
+ }
+ },
+ platforms = {
+ linux = {
+ modules = {
+ ev = {
+ libraries = {
+ "ev", "pthread"
+ }
+ }
+ }
+ }
+ }
+}
@@ -0,0 +1,61 @@
+package = "lua-ev"
+version = "scm-1"
+
+source = {
+ url = "git://github.com/brimworks/lua-ev.git"
+}
+
+description = {
+ summary = "Lua integration with libev",
+ detailed = [[
+ lua-ev: Lua integration with libev (http://dist.schmorp.de/libev)
+ ]],
+ homepage = "http://github.com/brimworks/lua-ev",
+ license = "MIT/X11"
+}
+
+dependencies = {
+ "lua >= 5.1"
+}
+
+external_dependencies = {
+ LIBEV = {
+ header = "ev.h",
+ library = "libev.so"
+ },
+ PTHREADS = {
+ header = "pthread.h",
+ },
+ platforms = {
+ linux = {
+ PTHREADS = {
+ library = "libpthread.so"
+ }
+ }
+ }
+}
+
+build = {
+ type = "builtin",
+ modules = {
+ ev = {
+ sources = {
+ "lua_ev.c"
+ },
+ libraries = {
+ "ev"
+ }
+ }
+ },
+ platforms = {
+ linux = {
+ modules = {
+ ev = {
+ libraries = {
+ "ev", "pthread"
+ }
+ }
+ }
+ }
+ }
+}

0 comments on commit bcebea2

Please sign in to comment.