Files
packages/utils/procs/Makefile
T
Facundo Acevedo 0d0e892a6a procs: bump to 0.14.12
Updated procs package to 0.14.12
Updated procs.toml (config file) to match  default config file from upstream

Signed-off-by: Facundo Acevedo <facevedo@disroot.org>
2026-07-20 08:17:44 +02:00

56 lines
1.5 KiB
Makefile
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# SPDX-License-Identifier: GPL-3.0-only
#
# Copyright (C) 2026 Facundo Acevedo
include $(TOPDIR)/rules.mk
PKG_NAME:=procs
PKG_VERSION:=0.14.12
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/dalance/procs/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=f2fab583fe98a9ae9505c5eecf4f3d9d4ad9bcb5d478a8222d52c87aa1ac602e
PKG_MAINTAINER:=Facundo Acevedo <facevedo@disroot.org>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENCE
PKG_BUILD_DEPENDS:=rust/host
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include ../../lang/rust/rust-package.mk
define Package/procs
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Procs is feature-rich alternative to the 'ps'
DEPENDS:=$(RUST_ARCH_DEPENDS)
URL:=https://github.com/dalance/procs/
endef
define Package/procs/description
Procs is a 'ps' command replacement written in Rust, offering
enhanced usability and information display.
Features include color-coded output, theme auto-detection, advanced
search, and extended process details
(TCP/UDP ports, Docker names, I/O throughput).
It also supports pager functionality, a 'top'-like watch mode, and
a process tree view​​.
endef
define Package/procs/conffiles
/etc/procs/procs.toml
endef
define Package/procs/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/procs $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/procs
$(INSTALL_CONF) ./files/etc/procs/procs.toml $(1)/etc/procs/
endef
$(eval $(call RustBinPackage,procs))
$(eval $(call BuildPackage,procs))