Skip to content

Commit e6f95e0

Browse files
committed
luarocks: release new version v1.6-1.
1 parent cf7a500 commit e6f95e0

File tree

3 files changed

+41
-5
lines changed

3 files changed

+41
-5
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ install:
6161
.PHONY: dev
6262
dev:
6363
ifeq ($(UNAME),Darwin)
64-
luarocks install --lua-dir=$(LUA_JIT_DIR) rockspec/lua-resty-radixtree-dev-1.0-0.rockspec --only-deps
64+
luarocks install --lua-dir=$(LUA_JIT_DIR) rockspec/lua-resty-radixtree-master-1.0-0.rockspec --only-deps
6565
else ifneq ($(LUAROCKS_VER),'luarocks 3.')
66-
luarocks install rockspec/lua-resty-radixtree-dev-1.0-0.rockspec --only-deps
66+
luarocks install rockspec/lua-resty-radixtree-master-1.0-0.rockspec --only-deps
6767
else
68-
luarocks install --lua-dir=/usr/local/openresty/luajit rockspec/lua-resty-radixtree-dev-1.0-0.rockspec --only-deps
68+
luarocks install --lua-dir=/usr/local/openresty/luajit rockspec/lua-resty-radixtree-master-1.0-0.rockspec --only-deps
6969
endif
7070

7171

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
package = "lua-resty-radixtree"
2+
version = "1.6-1"
3+
source = {
4+
url = "git://github.com/iresty/lua-resty-radixtree",
5+
tag = "v1.6",
6+
}
7+
8+
description = {
9+
summary = "This is a radixtree implementation base on FFI for Lua-Openresty",
10+
homepage = "https://github.com/iresty/lua-resty-radixtree",
11+
license = "Apache License 2.0",
12+
maintainer = "Yuansheng Wang <[email protected]>"
13+
}
14+
15+
dependencies = {
16+
"lua-resty-ipmatcher >= 0.3",
17+
}
18+
19+
build = {
20+
type = "make",
21+
build_variables = {
22+
CFLAGS="$(CFLAGS) -std=c99 -g -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast",
23+
LIBFLAG="$(LIBFLAG)",
24+
LUA_LIBDIR="$(LUA_LIBDIR)",
25+
LUA_BINDIR="$(LUA_BINDIR)",
26+
LUA_INCDIR="$(LUA_INCDIR)",
27+
LUA="$(LUA)",
28+
},
29+
install_variables = {
30+
INST_PREFIX="$(PREFIX)",
31+
INST_BINDIR="$(BINDIR)",
32+
INST_LIBDIR="$(LIBDIR)",
33+
INST_LUADIR="$(LUADIR)",
34+
INST_CONFDIR="$(CONFDIR)",
35+
},
36+
}

rockspec/lua-resty-radixtree-dev-1.0-0.rockspec renamed to rockspec/lua-resty-radixtree-master-1.0-0.rockspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package = "lua-resty-radixtree-dev"
1+
package = "lua-resty-radixtree-master"
22
version = "1.0-0"
33
source = {
44
url = "git://github.com/iresty/lua-resty-radixtree",
@@ -13,7 +13,7 @@ description = {
1313
}
1414

1515
dependencies = {
16-
"lua-resty-ipmatcher = 0.2",
16+
"lua-resty-ipmatcher = 0.3",
1717
}
1818

1919
build = {

0 commit comments

Comments
 (0)