forked from spc476/SPCDNS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.conman.dns-2.0.5-1.rockspec
53 lines (46 loc) · 1.08 KB
/
org.conman.dns-2.0.5-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package = "org.conman.dns"
version = "2.0.5-1"
source =
{
url = "git+https://github.com/spc476/SPCDNS.git",
tag = "v2.0.5"
}
description =
{
homepage = "http://www.conman.org/software/spcdns/",
maintainer = "Sean Conner <[email protected]>",
license = "LGPL",
summary = "A Lua module to encode DNS queries and decode DNS answers.",
detailed = [[
A simple interface to encode and decode DNS queries. This supports
most of the commonly used DNS records and is meant to be a low level
API upon which a generalized DNS query system can be built.
]]
}
dependencies =
{
"lua >= 5.1, <= 5.4"
}
build =
{
type = "make",
build_target = "src/dns.so",
install_target = "install-lua",
platforms =
{
linux = { build_variables = { CC = "gcc -std=c99" } },
solaris = { build_varaibles = { CC = "c99" } },
},
build_variables =
{
CC = "$(CC)",
CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR)",
LDSHARE = "$(LIBFLAG)",
LUA = "$(LUA)",
},
install_variables =
{
LIBDIR = "$(LIBDIR)",
LUA = "$(LUA)",
}
}