cpustat-2025-08-06-15-32 — cpustat (#12359)

* Add unbuilt cpustat to cpustat-2025-08-06-15-32

* Update package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* cpustat-2025-08-06-15-32: Build Run on linux/386.

* cpustat-2025-08-06-15-32: Build Run on linux/amd64.

* cpustat-2025-08-06-15-32: Build Run on linux/arm/v7.

* cpustat-2025-08-06-15-32: Package File Update Run on linux/386 container.

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
This commit is contained in:
chromebrew-actions[bot]
2025-08-06 17:44:45 +00:00
committed by GitHub
parent e67807d11a
commit b8fb8d6821
4 changed files with 15 additions and 12 deletions

View File

@@ -1,3 +1,3 @@
/usr/local/bin/cpustat
/usr/local/share/bash-completion/completions/cpustat
/usr/local/share/man/man8/cpustat.8.gz
/usr/local/share/man/man8/cpustat.8.zst

View File

@@ -1,3 +1,3 @@
/usr/local/bin/cpustat
/usr/local/share/bash-completion/completions/cpustat
/usr/local/share/man/man8/cpustat.8.gz
/usr/local/share/man/man8/cpustat.8.zst

View File

@@ -1,3 +1,3 @@
/usr/local/bin/cpustat
/usr/local/share/bash-completion/completions/cpustat
/usr/local/share/man/man8/cpustat.8.gz
/usr/local/share/man/man8/cpustat.8.zst

View File

@@ -2,21 +2,24 @@ require 'package'
class Cpustat < Package
description 'cpustat periodically dumps out the current CPU utilisation statistics of running processes.'
homepage 'https://kernel.ubuntu.com/~cking/cpustat/'
version '0.02.10'
homepage 'https://github.com/ColinIanKing/cpustat'
version '0.03.00'
license 'GPL-2+'
compatibility 'all'
source_url 'https://kernel.ubuntu.com/~cking/tarballs/cpustat/cpustat-0.02.10.tar.xz'
source_sha256 'ea9ab5a970ec657496c0127e3e5d58d49ce0fe07e750b4aafcfeb4896ccd74e9'
binary_compression 'tar.xz'
source_url 'https://github.com/ColinIanKing/cpustat.git'
git_hashtag "V#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'd8a55c174fee28fc12a5a153836696fdfc7320f5fbc106095e0d18faccc7c58e',
armv7l: 'd8a55c174fee28fc12a5a153836696fdfc7320f5fbc106095e0d18faccc7c58e',
i686: '8e215c1064acc4bc8329f801d79aa96b7d8537596e6b91c12037c5782f5b3454',
x86_64: '8e96b86281a64fe06adc42c18a8507f0e52ffba4368cd3acb96b4f428ad0bb0d'
aarch64: '8fb261e29e498988fa539ad17586ba55e75fd7eecc027113f7e0b4412b4ed691',
armv7l: '8fb261e29e498988fa539ad17586ba55e75fd7eecc027113f7e0b4412b4ed691',
i686: '5809962b1a3185a5e86e72e26e449bb423eccddb3efbdac86d3850771d522d37',
x86_64: '72fb91253d4801ba95a3f35fa2b1848a0ef656b8e3d3720f4b6519a071495f66'
})
depends_on 'glibc' # R
depends_on 'ncurses' # R depends_on 'ncurses' => :build
def self.build
system "sed -i 's,sbin,bin,' Makefile"
system "sed -i 's,/usr,#{CREW_PREFIX},g' Makefile"