-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathip2location-8.8.1-1.rockspec
More file actions
37 lines (37 loc) · 1.59 KB
/
ip2location-8.8.1-1.rockspec
File metadata and controls
37 lines (37 loc) · 1.59 KB
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
package = "ip2location"
version = "8.8.1-1"
source = {
url = "git://github.com/ip2location/ip2location-lua.git"
}
description = {
summary = "IP2Location Lua Package",
detailed = [[
This Lua package provides a fast lookup of country, region, city, latitude, longitude, ZIP code,
time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name,
mcc, mnc, mobile brand, elevation, usage type, address type, IAB category, district,
autonomous system number (ASN) and autonomous system (AS) from IP address by using IP2Location database.
This package uses a file based database available at IP2Location.com. This database simply contains IP
blocks as keys, and other information such as country, region, city, latitude, longitude, ZIP code,
time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name,
mcc, mnc, mobile brand, elevation, usage type, address type, IAB category, district,
autonomous system number (ASN), autonomous system (AS), AS domain, AS usage type, AS CIDR as values.
It supports both IP address in IPv4 and IPv6.
]],
homepage = "https://www.ip2location.com/documentation/ip2location-libraries/lua",
license = "MIT",
maintainer = "support@ip2location.com"
}
dependencies = {
"lua >= 5.3",
"lua-nums",
"json-lua",
"luasocket",
"urlencode"
}
build = {
type = "builtin",
modules = {
["ip2location"] = "ip2location.lua",
["ip2locationwebservice"] = "ip2locationwebservice.lua"
}
}