Explorar o código

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>
Vincent Jardin hai 8 meses
pai
achega
ba65c4dd4b
Modificáronse 5 ficheiros con 39 adicións e 0 borrados
  1. 1 0
      DEVELOPERS
  2. 1 0
      package/Config.in
  3. 17 0
      package/libecoli/Config.in
  4. 3 0
      package/libecoli/libecoli.hash
  5. 17 0
      package/libecoli/libecoli.mk

+ 1 - 0
DEVELOPERS

@@ -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/

+ 1 - 0
package/Config.in

@@ -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"

+ 17 - 0
package/libecoli/Config.in

@@ -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

+ 3 - 0
package/libecoli/libecoli.hash

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

+ 17 - 0
package/libecoli/libecoli.mk

@@ -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))