Initial Commit
- initial default booting image
This commit is contained in:
21
package/kibi/Config.in
Normal file
21
package/kibi/Config.in
Normal file
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_KIBI
|
||||
bool "kibi"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_HOST_RUSTC
|
||||
help
|
||||
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
|
||||
|
||||
if BR2_PACKAGE_KIBI
|
||||
|
||||
config BR2_PACKAGE_KIBI_SYNTAX_HIGHLIGHTING
|
||||
bool "syntax highlighting"
|
||||
default y
|
||||
help
|
||||
Install files to enable syntax highlighting. This option adds
|
||||
200 KB of data to /usr/share/
|
||||
|
||||
endif
|
||||
4
package/kibi/kibi.hash
Normal file
4
package/kibi/kibi.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally generated
|
||||
sha256 b1edddd4daf0a38d79673bb42f386f91a68fe7b2212defde5e531cbc93dc1bac kibi-0.3.3-cargo6.tar.gz
|
||||
sha256 53cdcb17642e801f813712b4844293b037c23d4b482004b77c15ae2f36f551c3 LICENSE-MIT
|
||||
sha256 8c6db340475136df3c1201d458fa5755698eace76e510471ecc9d857d6083dac LICENSE-APACHE
|
||||
21
package/kibi/kibi.mk
Normal file
21
package/kibi/kibi.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# kibi
|
||||
#
|
||||
################################################################################
|
||||
|
||||
KIBI_VERSION = 0.3.3
|
||||
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))
|
||||
Reference in New Issue
Block a user