-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sparked435
committed
Oct 3, 2024
1 parent
20cf843
commit 50990ba
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package = "luadbi-sqlite3" | ||
version = "scm-0" | ||
|
||
description = { | ||
summary = "Database abstraction layer", | ||
detailed = [[ | ||
LuaDBI is a database interface library for Lua. It is designed | ||
to provide a RDBMS agnostic API for handling database | ||
operations. LuaDBI also provides support for prepared statement | ||
handles, placeholders and bind parameters for all database | ||
operations. | ||
This rock is the Sqlite3 DBD module. You will also need the | ||
base DBI module to use this software. | ||
]], | ||
|
||
license = "MIT/X11", | ||
homepage = "https://github.com/mwild1/luadbi" | ||
} | ||
|
||
source = { | ||
url = "git+https://github.com/mwild1/luadbi.git", | ||
} | ||
|
||
dependencies = { | ||
"lua >= 5.1", | ||
"luadbi = scm" | ||
} | ||
|
||
external_dependencies = { | ||
SQLITE = { header = "sqlite3.h" } | ||
} | ||
|
||
build = { | ||
type = "builtin", | ||
modules = { | ||
['dbd.sqlite3'] = { | ||
sources = { | ||
'dbd/common.c', | ||
'dbd/sqlite3/main.c', | ||
'dbd/sqlite3/statement.c', | ||
'dbd/sqlite3/connection.c' | ||
}, | ||
|
||
libraries = { | ||
'sqlite3' | ||
}, | ||
|
||
incdirs = { | ||
"$(SQLITE_INCDIR)", | ||
'./' | ||
}, | ||
|
||
libdirs = { | ||
"$(SQLITE_LIBDIR)" | ||
} | ||
} | ||
} | ||
} |