[Buildroot] [git commit] package/neofetch: new package

From: Yann E. MORIN <hidden>
Date: 2021-01-17 11:16:47
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=3860eccd5bb908528dc8340f46fd666e2d27831a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Christian Stewart <redacted>
Signed-off-by: Yann E. MORIN <redacted>
---
 package/Config.in              |  1 +
 package/neofetch/Config.in     | 10 ++++++++++
 package/neofetch/neofetch.hash |  2 ++
 package/neofetch/neofetch.mk   | 17 +++++++++++++++++
 4 files changed, 30 insertions(+)
diff --git a/package/Config.in b/package/Config.in
index 81ad4979a1..54b917b736 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/neofetch/Config.in b/package/neofetch/Config.in
new file mode 100644
index 0000000000..409466bc15
--- /dev/null
+++ b/package/neofetch/Config.in
@@ -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
diff --git a/package/neofetch/neofetch.hash b/package/neofetch/neofetch.hash
new file mode 100644
index 0000000000..0927715143
--- /dev/null
+++ b/package/neofetch/neofetch.hash
@@ -0,0 +1,2 @@
+sha256  58a95e6b714e41efc804eca389a223309169b2def35e57fa934482a6b47c27e7  neofetch-7.1.0.tar.gz
+sha256  fc3034b3dd3a08db109949b629210213bba52aa95455cbc5c2fefa2fc1183efe  LICENSE.md
diff --git a/package/neofetch/neofetch.mk b/package/neofetch/neofetch.mk
new file mode 100644
index 0000000000..4ea6c27b2d
--- /dev/null
+++ b/package/neofetch/neofetch.mk
@@ -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))
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help