package/lua-inotify: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
c17a9b2de8
commit
e39379ff59
@ -983,6 +983,7 @@ F: package/libtommath/
|
||||
F: package/libwpe/
|
||||
F: package/linenoise/
|
||||
F: package/ljlinenoise/
|
||||
F: package/lua-inotify/
|
||||
F: package/lpeg/
|
||||
F: package/lpty/
|
||||
F: package/lrandom/
|
||||
|
@ -685,6 +685,7 @@ menu "Lua libraries/modules"
|
||||
source "package/lua-gd/Config.in"
|
||||
source "package/lua-http/Config.in"
|
||||
source "package/lua-iconv/Config.in"
|
||||
source "package/lua-inotify/Config.in"
|
||||
source "package/lua-livr/Config.in"
|
||||
source "package/lua-livr-extra/Config.in"
|
||||
source "package/lua-lpeg-patterns/Config.in"
|
||||
|
6
package/lua-inotify/Config.in
Normal file
6
package/lua-inotify/Config.in
Normal file
@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_LUA_INOTIFY
|
||||
bool "lua-inotify"
|
||||
help
|
||||
Inotify bindings for Lua.
|
||||
|
||||
http://hoelz.ro/projects/linotify
|
3
package/lua-inotify/lua-inotify.hash
Normal file
3
package/lua-inotify/lua-inotify.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# computed by luarocks/buildroot
|
||||
sha256 9164b5777b132d7e1e073478d8837a526262991c57e32d75d517100f533eb436 inotify-0.5-1.src.rock
|
||||
sha256 b02158adb3c7763e1183a9386672f4f037bfeaab0cb0c73d684f34f3ea1993d8 linotify-0.5/COPYRIGHT
|
14
package/lua-inotify/lua-inotify.mk
Normal file
14
package/lua-inotify/lua-inotify.mk
Normal file
@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# lua-inotify
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUA_INOTIFY_VERSION_UPSTREAM = 0.5
|
||||
LUA_INOTIFY_VERSION = $(LUA_INOTIFY_VERSION_UPSTREAM)-1
|
||||
LUA_INOTIFY_NAME_UPSTREAM = inotify
|
||||
LUA_INOTIFY_SUBDIR = linotify-$(LUA_INOTIFY_VERSION_UPSTREAM)
|
||||
LUA_INOTIFY_LICENSE = MIT
|
||||
LUA_INOTIFY_LICENSE_FILES = $(LUA_INOTIFY_SUBDIR)/COPYRIGHT
|
||||
|
||||
$(eval $(luarocks-package))
|
25
support/testing/tests/package/test_lua_inotify.py
Normal file
25
support/testing/tests/package/test_lua_inotify.py
Normal file
@ -0,0 +1,25 @@
|
||||
from tests.package.test_lua import TestLuaBase
|
||||
|
||||
|
||||
class TestLuaInotify(TestLuaBase):
|
||||
config = TestLuaBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_LUA=y
|
||||
BR2_PACKAGE_LUA_INOTIFY=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.login()
|
||||
self.module_test("inotify")
|
||||
|
||||
|
||||
class TestLuajitInotify(TestLuaBase):
|
||||
config = TestLuaBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_LUAJIT=y
|
||||
BR2_PACKAGE_LUA_INOTIFY=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.login()
|
||||
self.module_test("inotify")
|
Loading…
Reference in New Issue
Block a user