File: luadbi-duckdb-scm-0.rockspec

package info (click to toggle)
lua-dbi 0.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 448 kB
  • sloc: ansic: 3,946; sql: 291; makefile: 129
file content (59 lines) | stat: -rw-r--r-- 1,330 bytes parent folder | download | duplicates (2)
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
54
55
56
57
58
59
package = "luadbi-duckdb"
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 DuckDB 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 = {
    DUCKDB = { header = "duckdb.h" }
}

build = {
    type = "builtin",
    modules = {
        ['dbd.duckdb'] = {
            sources = {
                'dbd/common.c',
                'dbd/duckdb/main.c',
                'dbd/duckdb/statement.c',
                'dbd/duckdb/connection.c'
            },

            libraries = {
                'duckdb'
            },

            incdirs = {
                "$(DUCKDB_INCDIR)",
                './'
            },

            libdirs = {
                "$(DUCKDB_LIBDIR)"
            }
        }
    }
}