From f3a6491674ab451535e392b63e94a545abf3f292 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Thu, 17 Aug 2023 14:30:58 +0200 Subject: [PATCH] bottom: New package Bottom is a top/htop workalike with few additional features, written in rust. Signed-off-by: Luca Barbato --- admin/bottom/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 admin/bottom/Makefile diff --git a/admin/bottom/Makefile b/admin/bottom/Makefile new file mode 100644 index 0000000000..bdd049a29a --- /dev/null +++ b/admin/bottom/Makefile @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Copyright (C) 2023 Luca Barbato + +include $(TOPDIR)/rules.mk + +PKG_NAME:=bottom +PKG_VERSION:=0.9.4 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/ClementTsang/bottom/tar.gz/$(PKG_VERSION)? +PKG_HASH:=199123ef354bcabaa8a2e3b7b477b324f5b647d503a2599d08296733846eea6e + +PKG_MAINTAINER:=Luca Barbato +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE + +PKG_BUILD_DEPENDS:=rust/host + +include $(INCLUDE_DIR)/package.mk +include ../../lang/rust/rust-package.mk + +define Package/bottom + SECTION:=admin + CATEGORY:=Administration + TITLE:=Interactive processes viewer + DEPENDS:=$(RUST_ARCH_DEPENDS) + URL:=https://github.com/ClementTsang/bottom +endef + +define Package/bottom/description + A customizable cross-platform graphical process/system monitor + for the terminal. +endef + +$(eval $(call RustBinPackage,bottom)) +$(eval $(call BuildPackage,bottom))