| 1 |
package = "lsqlite3complete" |
| 2 |
version = "0.9.6-1" |
| 3 |
source = { |
| 4 |
url = "http://lua.sqlite.org/index.cgi/zip/lsqlite3_v096.zip?uuid=v0.9.6", |
| 5 |
file = "lsqlite3_v096.zip", |
| 6 |
} |
| 7 |
description = { |
| 8 |
summary = "A binding for Lua to the SQLite3 database library", |
| 9 |
detailed = [[ |
| 10 |
lsqlite3complete is a thin wrapper around the public domain SQLite3 database engine. |
| 11 |
SQLite3 is included and statically linked. (The dynamically linked alternative is lsqlite3). |
| 12 |
The lsqlite3complete module supports the creation and manipulation of SQLite3 databases. |
| 13 |
Most sqlite3 functions are called via an object-oriented interface to either database |
| 14 |
or SQL statement objects. |
| 15 |
]], |
| 16 |
license = "MIT", |
| 17 |
homepage = "http://lua.sqlite.org/", |
| 18 |
} |
| 19 |
dependencies = { |
| 20 |
"lua >= 5.1, < 5.5", |
| 21 |
} |
| 22 |
build = { |
| 23 |
type = "builtin", |
| 24 |
modules = { |
| 25 |
lsqlite3complete = { |
| 26 |
sources = { "lsqlite3.c", "sqlite3.c" }, |
| 27 |
defines = {'LSQLITE_VERSION="0.9.6"', 'luaopen_lsqlite3=luaopen_lsqlite3complete'}, |
| 28 |
}, |
| 29 |
}, |
| 30 |
platforms = { |
| 31 |
unix = { |
| 32 |
modules = { |
| 33 |
lsqlite3complete = { |
| 34 |
libraries = { "pthread", "m", "dl" }, |
| 35 |
}, |
| 36 |
}, |
| 37 |
}, |
| 38 |
}, |
| 39 |
copy_directories = { 'doc', 'examples' } |
| 40 |
} |