Files
Alexander Shirokov 1f319f8b31 package/kibi: new package
This commit adds "kibi" a configurable text editor with UTF-8 support,
incremental search, syntax highlighting, line numbers and more, written
in less than 1024 lines of Rust with minimal dependencies.

https://github.com/ilai-deutel/kibi

Signed-off-by: Alexander Shirokov <shirokovalexs@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2026-01-01 23:28:45 +01:00

22 lines
651 B
Makefile

################################################################################
#
# kibi
#
################################################################################
KIBI_VERSION = 0.3.1
KIBI_SITE = $(call github,ilai-deutel,kibi,v$(KIBI_VERSION))
KIBI_LICENSE = MIT or Apache-2.0
KIBI_LICENSE_FILES = LICENSE-MIT LICENSE-APACHE
ifeq ($(BR2_PACKAGE_KIBI_SYNTAX_HIGHLIGHTING),y)
define KIBI_INSTALL_SYNTAX_HIGHLIGHTING
mkdir -p $(TARGET_DIR)/usr/share/kibi/syntax.d
cp -dpfr $(@D)/syntax.d/*.ini $(TARGET_DIR)/usr/share/kibi/syntax.d/
endef
KIBI_POST_INSTALL_TARGET_HOOKS += KIBI_INSTALL_SYNTAX_HIGHLIGHTING
endif
$(eval $(cargo-package))