You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
739 B
34 lines
739 B
1 year ago
|
package = 'linenoise'
|
||
|
version = '0.9-1'
|
||
|
source = {
|
||
|
url = 'https://github.com/hoelzro/lua-linenoise/archive/0.9.tar.gz',
|
||
|
dir = 'lua-linenoise-0.9',
|
||
|
}
|
||
|
description = {
|
||
|
summary = 'A binding for the linenoise command line library',
|
||
|
homepage = 'https://github.com/hoelzro/lua-linenoise',
|
||
|
license = 'MIT/X11',
|
||
|
}
|
||
|
dependencies = {
|
||
|
'lua >= 5.1'
|
||
|
}
|
||
|
|
||
|
build = {
|
||
|
type = 'builtin',
|
||
|
modules = {
|
||
|
linenoise = {
|
||
|
sources = { 'linenoise.c', 'linenoiselib.c', 'encodings/utf8.c' },
|
||
|
},
|
||
|
},
|
||
|
platforms = {
|
||
|
win32 = {
|
||
|
modules = {
|
||
|
linenoise = {
|
||
|
sources = { 'linenoise.c', 'linenoiselib.c', 'encodings/utf8.c', 'win32fixes.c' },
|
||
|
libraries = { 'ws2_32' },
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|