package/lua-argparse: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2023-12-15 20:50:15 +01:00 committed by Thomas Petazzoni
parent fbf939b03a
commit e70abe9716
4 changed files with 22 additions and 0 deletions

View File

@ -717,6 +717,7 @@ menu "Lua libraries/modules"
source "package/lsqlite3/Config.in"
source "package/lua-ansicolors/Config.in"
source "package/lua-argon2/Config.in"
source "package/lua-argparse/Config.in"
source "package/lua-augeas/Config.in"
source "package/lua-basexx/Config.in"
source "package/lua-binaryheap/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_LUA_ARGPARSE
bool "lua-argparse"
help
A feature-rich command-line argument parser.
https://github.com/luarocks/argparse

View File

@ -0,0 +1,3 @@
# computed by luarocks/buildroot
sha256 ea30d0643586a20aeb6349ca8cb7db63aefc21d9aa007c7b7168a7c564817879 argparse-0.7.1-1.src.rock
sha256 9a918f21485b2a4529c901491d9101392f03586d65ad5b024a4445ebc1dc37b4 argparse-0.7.1/LICENSE

View File

@ -0,0 +1,12 @@
################################################################################
#
# lua-argparse
#
################################################################################
LUA_ARGPARSE_VERSION = 0.7.1-1
LUA_ARGPARSE_NAME_UPSTREAM = argparse
LUA_ARGPARSE_LICENSE = MIT
LUA_ARGPARSE_LICENSE_FILES = $(LUA_ARGPARSE_SUBDIR)/LICENSE
$(eval $(luarocks-package))