| 1 |
package = "lsqlite3" |
| 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 |
lsqlite3 is a thin wrapper around the public domain SQLite3 database engine. SQLite3 is |
| 11 |
dynamically linked to lsqlite3. The statically linked alternative is lsqlite3complete. |
| 12 |
The lsqlite3 module supports the creation and manipulation of SQLite3 databases. |
| 13 |
Most sqlite3 functions are called via an object-oriented interface to either |
| 14 |
database 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 |
external_dependencies = { |
| 23 |
SQLITE = { |
| 24 |
header = "sqlite3.h", |
| 25 |
}, |
| 26 |
} |
| 27 |
build = { |
| 28 |
type = "builtin", |
| 29 |
modules = { |
| 30 |
lsqlite3 = { |
| 31 |
sources = { "lsqlite3.c" }, |
| 32 |
defines = { 'LSQLITE_VERSION="0.9.6"' }, |
| 33 |
libraries = { "sqlite3" }, |
| 34 |
incdirs = { "$(SQLITE_INCDIR)" }, |
| 35 |
libdirs = { "$(SQLITE_LIBDIR)" }, |
| 36 |
}, |
| 37 |
}, |
| 38 |
copy_directories = { 'doc', 'examples' }, |
| 39 |
} |