1 # SPDX-License-Identifier: GPL-3.0-only
3 # Copyright (C) 2023 Facundo Acevedo
5 include $(TOPDIR
)/rules.mk
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
12 PKG_SOURCE_URL
:=https
://codeload.github.com
/dalance
/procs
/tar.gz
/v
$(PKG_VERSION
)?
13 PKG_HASH
:=bb4f9d696081807ca105593092f8acd04ca339ae43fff29e0e820c6fc5e3f9ea
15 PKG_MAINTAINER
:=Facundo Acevedo
<facevedo@disroot.org
>
17 PKG_LICENSE_FILES
:=LICENCE
19 PKG_BUILD_DEPENDS
:=rust
/host
22 include $(INCLUDE_DIR
)/package.mk
23 include ..
/..
/lang
/rust
/rust-package.mk
28 TITLE
:=Procs is feature-rich alternative to the
'ps'
29 DEPENDS
:=$(RUST_ARCH_DEPENDS
)
30 URL
:=https
://github.com
/dalance
/procs
/
33 define Package
/procs
/description
34 Procs is a
'ps' command replacement written in Rust
, offering
35 enhanced usability and information display.
36 Features
include color-coded output
, theme auto-detection
, advanced
37 search
, and extended process details
38 (TCP
/UDP ports
, Docker names
, I
/O throughput
).
39 It also supports pager functionality
, a
'top'-like watch mode
, and
40 a process tree view.
43 define Package
/procs
/conffiles
47 define Package
/procs
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/bin
/procs
$(1)/usr
/bin
/
50 $(INSTALL_DIR
) $(1)/etc
/procs
51 $(INSTALL_CONF
) .
/files
/etc
/procs
/procs.toml
$(1)/etc
/procs
/
54 $(eval
$(call RustBinPackage
,procs
))
55 $(eval
$(call BuildPackage
,procs
))