Commit 34d406a0 authored by Francois Perrad's avatar Francois Perrad Committed by Thomas Petazzoni
Browse files

ljlinenoise: new package



[Thomas: indicate that ljsyscall is a run-time dependency only.]

Signed-off-by: default avatarFrancois Perrad <francois.perrad@gadz.org>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 7669aab6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -375,6 +375,7 @@ source "package/cosmo/Config.in"
source "package/coxpcall/Config.in"
source "package/dado/Config.in"
source "package/lbase64/Config.in"
source "package/ljlinenoise/Config.in"
source "package/ljsyscall/Config.in"
source "package/lpeg/Config.in"
source "package/lpty/Config.in"
+17 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LJLINENOISE
	bool "ljlinenoise"
	# run-time dependency only
	select BR2_PACKAGE_LJSYSCALL
	# ljsyscall is specifically for LuaJIT, not Lua.
	depends on BR2_PACKAGE_LUAJIT
	# ljsyscall is only available for some target architectures
	depends on BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_arm || BR2_armeb
	help
	  ljlinenoise is a pure LuaJIT port of linenoise,
	  a small alternative to readline and libedit.

	  http://fperrad.github.io/ljlinenoise/

comment "ljlinenoise needs LuaJIT"
	depends on !BR2_PACKAGE_LUAJIT
	depends on BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_arm || BR2_armeb
+13 −0
Original line number Diff line number Diff line
################################################################################
#
# ljlinenoise
#
################################################################################

LJLINENOISE_VERSION_UPSTREAM = 0.1.1
LJLINENOISE_VERSION = $(LJLINENOISE_VERSION_UPSTREAM)-1
LJLINENOISE_SUBDIR  = ljlinenoise-$(LJLINENOISE_VERSION_UPSTREAM)
LJLINENOISE_LICENSE = MIT
LJLINENOISE_LICENSE_FILES = $(LJLINENOISE_SUBDIR)/COPYRIGHT

$(eval $(luarocks-package))