package/bat: new package
bat is a cat(1) clone with syntax highlighting and Git integration. Signed-off-by: David Pierret <david.pierret@smile.fr> Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
ffc503fab7
commit
0fd3770cc6
@ -680,6 +680,9 @@ F: linux/linux-ext-ev3dev-linux-drivers.mk
|
||||
F: package/brickd/
|
||||
F: package/ev3dev-linux-drivers/
|
||||
|
||||
N: David Pierret <david.pierret@smile.fr>
|
||||
F: package/bat/
|
||||
|
||||
N: Davide Viti <zinosat@gmail.com>
|
||||
F: board/friendlyarm/nanopi-r1/
|
||||
F: configs/friendlyarm_nanopi_r1_defconfig
|
||||
|
@ -2607,6 +2607,7 @@ menu "System tools"
|
||||
endmenu
|
||||
|
||||
menu "Text editors and viewers"
|
||||
source "package/bat/Config.in"
|
||||
source "package/ed/Config.in"
|
||||
source "package/joe/Config.in"
|
||||
source "package/less/Config.in"
|
||||
|
11
package/bat/Config.in
Normal file
11
package/bat/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_BAT
|
||||
bool "bat"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_HOST_RUSTC
|
||||
# we need a full version of less
|
||||
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
select BR2_PACKAGE_LESS
|
||||
help
|
||||
A cat(1) clone with syntax highlighting and Git integration.
|
||||
|
||||
https://github.com/sharkdp/bat
|
4
package/bat/bat.hash
Normal file
4
package/bat/bat.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# Locally generated
|
||||
sha256 9c345788eb916777a60e7ff32031f1c92edc5565031e0c057bce860982768744 bat-0.18.3.tar.gz
|
||||
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE-APACHE
|
||||
sha256 64de710b6309a7db5e44ad0af382300c7fb6f6d116d8ae32f0164e05db033068 LICENSE-MIT
|
12
package/bat/bat.mk
Normal file
12
package/bat/bat.mk
Normal file
@ -0,0 +1,12 @@
|
||||
################################################################################
|
||||
#
|
||||
# bat
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BAT_VERSION = 0.18.3
|
||||
BAT_SITE = $(call github,sharkdp,bat,v$(BAT_VERSION))
|
||||
BAT_LICENSE = Apache-2.0 or MIT
|
||||
BAT_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
|
||||
|
||||
$(eval $(cargo-package))
|
Loading…
Reference in New Issue
Block a user