[Buildroot] [PATCH 1/3] package/lua-debug: new package

François Perrad francois.perrad at gadz.org
Fri Dec 28 14:32:39 UTC 2018


Le ven. 28 déc. 2018 à 01:37, <james.hilliard1 at gmail.com> a écrit :

> From: James Hilliard <james.hilliard1 at gmail.com>
>
> Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
> ---
>  package/Config.in                |  1 +
>  package/lua-debug/Config.in      |  7 +++++++
>  package/lua-debug/lua-debug.hash |  2 ++
>  package/lua-debug/lua-debug.mk   | 16 ++++++++++++++++
>  4 files changed, 26 insertions(+)
>  create mode 100644 package/lua-debug/Config.in
>  create mode 100644 package/lua-debug/lua-debug.hash
>  create mode 100644 package/lua-debug/lua-debug.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index c3e0691..324830d 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -613,6 +613,7 @@ menu "Lua libraries/modules"
>         source "package/lua-csnappy/Config.in"
>         source "package/lua-curl/Config.in"
>         source "package/lua-datafile/Config.in"
> +       source "package/lua-debug/Config.in"
>         source "package/lua-ev/Config.in"
>         source "package/lua-fifo/Config.in"
>         source "package/lua-flu/Config.in"
> diff --git a/package/lua-debug/Config.in b/package/lua-debug/Config.in
> new file mode 100644
> index 0000000..4d9f368
> --- /dev/null
> +++ b/package/lua-debug/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_LUA_DEBUG
> +       bool "lua-debug"
> +       depends on BR2_PACKAGE_HAS_LUAINTERPRETER
> +       help
> +         Manage an overall debug state, and associated hint substates.
> +
> +         http://lua-stdlib.github.io/_debug
> diff --git a/package/lua-debug/lua-debug.hash
> b/package/lua-debug/lua-debug.hash
> new file mode 100644
> index 0000000..2c48711
> --- /dev/null
> +++ b/package/lua-debug/lua-debug.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 7f6b84283d4b78dafee17e7765dd5f1f8e75c3314169977f4dda0e7873616ce2
> std._debug-1.0.1-1.src.rock
> diff --git a/package/lua-debug/lua-debug.mk b/package/lua-debug/
> lua-debug.mk
> new file mode 100644
> index 0000000..e18bef7
> --- /dev/null
> +++ b/package/lua-debug/lua-debug.mk
> @@ -0,0 +1,16 @@
>
> +################################################################################
> +#
> +# lua-debug
>

This rock uses the namespace std.
So, in order to avoid future name collision, it must be named lua-std-debug

François


> +#
>
> +################################################################################
> +
> +LUA_DEBUG_VERSION_UPSTREAM = 1.0.1
> +LUA_DEBUG_VERSION = $(LUA_DEBUG_VERSION_UPSTREAM)-1
> +LUA_DEBUG_NAME_UPSTREAM = std._debug
> +LUA_DEBUG_SUBDIR = _debug-$(LUA_DEBUG_VERSION_UPSTREAM)
> +LUA_DEBUG_ROCKSPEC =
> $(LUA_DEBUG_NAME_UPSTREAM)-$(LUA_DEBUG_VERSION).rockspec
> +LUA_DEBUG_SOURCE =
> $(LUA_DEBUG_NAME_UPSTREAM)-$(LUA_DEBUG_VERSION).src.rock
> +LUA_DEBUG_LICENSE = MIT
> +LUA_DEBUG_LICENSE_FILES = LICENSE.md
> +
> +$(eval $(luarocks-package))
> --
> 2.7.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181228/c900b489/attachment.html>


More information about the buildroot mailing list