package/neofetch: new package

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Christian Stewart 2021-01-15 11:35:39 -08:00 committed by Yann E. MORIN
parent 6d4f1324d4
commit 3860eccd5b
4 changed files with 30 additions and 0 deletions

View File

@ -2379,6 +2379,7 @@ comment "Utilities"
source "package/lockfile-progs/Config.in"
source "package/logrotate/Config.in"
source "package/logsurfer/Config.in"
source "package/neofetch/Config.in"
source "package/pdmenu/Config.in"
source "package/pinentry/Config.in"
source "package/qprint/Config.in"

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_NEOFETCH
bool "neofetch"
depends on BR2_USE_MMU # bash
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
select BR2_PACKAGE_BASH # runtime dependency
help
Neofetch is a bash script to display system information,
including hardware, in a visually pleasing way.
https://github.com/dylanaraps/neofetch

View File

@ -0,0 +1,2 @@
sha256 58a95e6b714e41efc804eca389a223309169b2def35e57fa934482a6b47c27e7 neofetch-7.1.0.tar.gz
sha256 fc3034b3dd3a08db109949b629210213bba52aa95455cbc5c2fefa2fc1183efe LICENSE.md

View File

@ -0,0 +1,17 @@
################################################################################
#
# neofetch
#
################################################################################
NEOFETCH_VERSION = 7.1.0
NEOFETCH_SITE = $(call github,dylanaraps,neofetch,$(NEOFETCH_VERSION))
NEOFETCH_LICENSE = MIT
NEOFETCH_LICENSE_FILES = LICENSE.md
define NEOFETCH_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/neofetch \
$(TARGET_DIR)/usr/bin/neofetch
endef
$(eval $(generic-package))