package/libecoli: new package

Add a new smart library for CLI / command line.

Signed-off-by: Vincent Jardin <vjardin@free.fr>
[Julien:
 - reworded Config.in help string to match upstream
 - select BR2_PACKAGE_LIBEDIT (rather than depends on)
 - add libedit "depends on" dependencies
 - disable static builds
 - add Config.in comment
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Vincent Jardin
2024-11-17 21:17:44 +01:00
committed by Julien Olivain
parent 9105e68546
commit ba65c4dd4b
5 changed files with 39 additions and 0 deletions

View File

@@ -3285,6 +3285,7 @@ F: board/nvidia/bf3/
F: configs/nvidia_bf3_defconfig
F: package/bfscripts/
F: package/dpdk/
F: package/libecoli/
N: Vincent Prince <vincent.prince.fr@gmail.com>
F: package/nss-myhostname/

View File

@@ -2337,6 +2337,7 @@ menu "Text and terminal handling"
source "package/icu/Config.in"
source "package/inih/Config.in"
source "package/libcli/Config.in"
source "package/libecoli/Config.in"
source "package/libedit/Config.in"
source "package/libenca/Config.in"
source "package/libestr/Config.in"

View File

@@ -0,0 +1,17 @@
config BR2_PACKAGE_LIBECOLI
bool "libecoli"
depends on BR2_USE_MMU # libedit
depends on BR2_USE_WCHAR # libedit
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_LIBEDIT
help
libecoli stands for Extensible COmmand LIne library.
This library provides helpers to build interactive command
line interfaces.
https://github.com/rjarry/libecoli/
comment "libecoli needs a toolchain w/ dynamic library, wchar"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR

View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 0da8f953e054dd2ba75a0d1dcbbc8830b76747282035e1d1de6082ec3bb6f995 libecoli-0.2.0.tar.gz
sha256 e58bf9ec962bee9b3e37abcaa0bc0ec940b05efdc1d1a5a4d9e2fdbcc08b7bdd LICENSE

View File

@@ -0,0 +1,17 @@
################################################################################
#
# libecoli
#
################################################################################
LIBECOLI_VERSION = 0.2.0
LIBECOLI_SITE = $(call github,rjarry,libecoli,v$(LIBECOLI_VERSION))
LIBECOLI_INSTALL_STAGING = YES
LIBECOLI_LICENSE = BSD-3-Clause
LIBECOLI_LICENSE_FILES = LICENSE
LIBECOLI_DEPENDENCIES = \
host-pkgconf \
libedit
$(eval $(meson-package))