瀏覽代碼

move to dev rockspec for git

leaf corcoran 12 年之前
父節點
當前提交
5ac0f1c18a
共有 3 個文件被更改,包括 37 次插入40 次删除
  1. 0 8
      Makefile
  2. 0 32
      enet-1.0-0.rockspec
  3. 37 0
      enet-dev-1.rockspec

+ 0 - 8
Makefile

@@ -1,10 +1,2 @@
-all: enet.so docs/index.html
-
 enet.so: enet.c
 	luarocks make --local
-
-docs/index.html: README.md
-	mkdir -p docs
-	markdown $< -o $@
-
-

+ 0 - 32
enet-1.0-0.rockspec

@@ -1,32 +0,0 @@
-package = "enet"
-version = "1.0-0"
-source = {
-	url = "git://github.com/leafo/lua-enet.git"
-}
-description = {
-	summary = "A library for doing network communication in Lua",
-	detailed = [[
-		Binding to ENet, network communication layer on top of UDP.
-	]],
-	homepage = "http://leafo.net/lua-enet",
-	license = "MIT"
-}
-dependencies = {
-	"lua >= 5.1"
-}
-external_dependencies = {
-	ENET = {
-		header = "enet/enet.h"
-	}
-}
-build = {
-	type = "builtin",
-	modules = {
-		enet = {
-			sources = {"enet.c"},
-			libraries = {"enet"},
-			incdirs = {"$(ENET_INCDIR)"},
-			libdirs = {"$(ENET_LIBDIR)"}
-		}
-	}
-}

+ 37 - 0
enet-dev-1.rockspec

@@ -0,0 +1,37 @@
+package = "enet"
+version = "dev-1"
+
+source = {
+  url = "git://github.com/leafo/lua-enet.git"
+}
+
+description = {
+  summary = "A library for doing network communication in Lua",
+  detailed = [[
+    Binding to ENet, network communication layer on top of UDP.
+  ]],
+  homepage = "http://leafo.net/lua-enet",
+  license = "MIT"
+}
+
+dependencies = {
+  "lua >= 5.1"
+}
+
+external_dependencies = {
+  ENET = {
+    header = "enet/enet.h"
+  }
+}
+
+build = {
+  type = "builtin",
+  modules = {
+    enet = {
+      sources = {"enet.c"},
+      libraries = {"enet"},
+      incdirs = {"$(ENET_INCDIR)"},
+      libdirs = {"$(ENET_LIBDIR)"}
+    }
+  }
+}