-
Notifications
You must be signed in to change notification settings - Fork 14
/
rpi-gpio-scm-3.rockspec
46 lines (45 loc) · 1.12 KB
/
rpi-gpio-scm-3.rockspec
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
package = "rpi-gpio"
version = "scm-3"
source = {
url = "git://github.com/Tieske/rpi-gpio.git",
}
description = {
summary = "Lua module to control the GPIO on a Raspberry Pi",
detailed = [[
This package provides a Lua module to control the GPIO on a Raspberry Pi.
The main functionality is provided by the RPi.GPIO Python Module of Ben
Croston, and the Lua binding was continued upon the work of Andre Simon.
]],
homepage = "https://github.com/Tieske/rpi-gpio",
license = "MIT"
}
dependencies = {
"lua >= 5.1, < 5.2",
"bit32",
"copastimer >= 1.0", -- pulls in copas, luasocket, coxpcall
}
build = {
type = "builtin",
modules = {
-- Main GPIO module
["GPIO"] = {
sources = {
"lua/RPi_GPIO_Lua_module.c",
"lua/darksidesync_aux.c",
"source/c_gpio.c",
"source/cpuinfo.c",
"source/event_gpio.c",
"source/soft_pwm.c",
},
libraries = {
"pthread"
},
incdirs = {
"source",
"lua",
},
},
-- additional Lua code files
["GPIO.lcd-hd44780"] = "lua/module/lcd-hd44780.lua",
},
}