mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
New lua module: rings
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
13ec21c66c
commit
50d6f2dde4
2
CHANGES
2
CHANGES
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
New GTK-based configurator, usable using 'make gconfig'.
|
New GTK-based configurator, usable using 'make gconfig'.
|
||||||
|
|
||||||
New packages: coxpcall, luafilesystem
|
New packages: coxpcall, luafilesystem, rings
|
||||||
|
|
||||||
Updated/fixed packages: cdrkit, libidn, netperf
|
Updated/fixed packages: cdrkit, libidn, netperf
|
||||||
|
|
||||||
|
@ -210,6 +210,7 @@ source "package/lua/Config.in"
|
|||||||
if BR2_PACKAGE_LUA
|
if BR2_PACKAGE_LUA
|
||||||
source "package/coxpcall/Config.in"
|
source "package/coxpcall/Config.in"
|
||||||
source "package/luafilesystem/Config.in"
|
source "package/luafilesystem/Config.in"
|
||||||
|
source "package/rings/Config.in"
|
||||||
endif
|
endif
|
||||||
source "package/microperl/Config.in"
|
source "package/microperl/Config.in"
|
||||||
source "package/php/Config.in"
|
source "package/php/Config.in"
|
||||||
|
7
package/rings/Config.in
Normal file
7
package/rings/Config.in
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
config BR2_PACKAGE_RINGS
|
||||||
|
bool "rings"
|
||||||
|
depends on BR2_PACKAGE_LUA_SHARED_LIBRARY
|
||||||
|
help
|
||||||
|
Provides a way to create new Lua states from within Lua.
|
||||||
|
|
||||||
|
http://github.com/keplerproject/rings
|
29
package/rings/rings.mk
Normal file
29
package/rings/rings.mk
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# rings
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
RINGS_VERSION = 1.2.3
|
||||||
|
RINGS_SITE = http://github.com/downloads/keplerproject/rings
|
||||||
|
RINGS_DEPENDENCIES = lua
|
||||||
|
|
||||||
|
define RINGS_BUILD_CMDS
|
||||||
|
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -fPIC"
|
||||||
|
endef
|
||||||
|
|
||||||
|
define RINGS_INSTALL_TARGET_CMDS
|
||||||
|
$(MAKE) -C $(@D) LUA_LIBDIR="$(TARGET_DIR)/usr/lib/lua" \
|
||||||
|
LUA_DIR="$(TARGET_DIR)/usr/share/lua" install
|
||||||
|
endef
|
||||||
|
|
||||||
|
define RINGS_UNINSTALL_TARGET_CMDS
|
||||||
|
rm -f "$(TARGET_DIR)/usr/lib/lua/rings.so"
|
||||||
|
rm -f "$(TARGET_DIR)/usr/share/lua/stable.lua"
|
||||||
|
endef
|
||||||
|
|
||||||
|
define RINGS_CLEAN_CMDS
|
||||||
|
$(MAKE) -C $(@D) clean
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,rings))
|
Loading…
x
Reference in New Issue
Block a user