Files
chromebrew/packages/faultstat.rb
Maximilian Downey Twiss 40b8844fa3 Upgrade f* packages (#10244)
* f2fs-tools 1.14.0 -> 1.16.0

* faad2 2.10.1 -> 2.11.1

* fakeroot 1.25.3 -> 1.35.1

* faultstat 0.01.01 -> 0.01.11

* fcft 2.5.1 -> 3.1.8

* feh 3.6.3 -> 3.10.3

* fetch 12.0.10 -> 12.0.11

* Add libgnt package

* Finch 2.12.0-1 -> 2.14.13

* fish 3.6.1 -> 3.7.1

* flatseal 1.7.5 -> 2.2.0

* flif 0.3 -> 0.4

* fnotifystat 0.02.02 -> 0.03.00

* Foliate 2.6.4 -> 3.1.1

* Folks 0.15.7 -> 0.15.9

* util_macros 1.19.3 -> xorg_macros 1.20.1

* font-util 1.3.2 -> 1.4.1

* font-adobe-100dpi 1.0.3 -> 1.0.4

* font-adobe-75dpi 1.0.3 -> 1.0.4

* font-adobe-utopia-100dpi 1.0.4 -> 1.0.5

* font-adobe-utopia-75dpi 1.0.4 -> 1.0.5

* font-adobe-utopia-type1 1.0.4 -> 1.0.5

* font-bh-100dpi 1.0.3 -> 1.0.4

* font-bh-75dpi 1.0.3 -> 1.0.4

* font-bh-lucidatypewriter-100dpi 1.0.3 -> 1.0.4

* font-bh-lucidatypewriter-75dpi 1.0.3 -> 1.0.4

* font-bh-ttf 1.0.3 -> 1.0.4

* font-bh-type1 1.0.3 -> 1.0.4

* font-bitstream-100dpi 1.0.3 -> 1.0.4

* font-bitstream-75dpi 1.0.3 -> 1.0.4

* font-bitstream-type1 1.0.3 -> 1.0.4

* font-cursor-misc 1.0.3 -> 1.0.4

* font-daewoo-misc 1.0.3 -> 1.0.4

* font-dec-misc 1.0.3 -> 1.0.4

* font-isas-misc 1.0.3 -> 1.0.4

* font-jis-misc 1.0.3 -> 1.0.4

* font-misc-misc 1.1.2 -> 1.1.3

* font-mutt-misc 1.0.3 -> 1.0.4

* Add libspiro package

* fontforge 20170731 -> 20230101

* tllist 1.0.5 -> 1.1.0

* foot 1.15.0 -> 1.18.0

* forkstat 0.02.10 -> 0.03.02

* fossil 2.6 -> 2.24

* Fragments 2.1.1 -> 3.0.1

* FreeGLUT 3.2.1 -> 3.6.0
2024-08-03 08:01:05 -04:00

36 lines
1.2 KiB
Ruby

require 'package'
class Faultstat < Package
description 'Faultstat measures page fault activity and swap utilization of processes'
homepage 'https://github.com/ColinIanKing/faultstat'
version '0.01.11'
license 'GPL-2+'
compatibility 'all'
source_url 'https://github.com/ColinIanKing/faultstat.git'
git_hashtag "V#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '107d40e974c26833b74828cefdf50d24626f3bfa2d33d4b55d95a5b989c18ce8',
armv7l: '107d40e974c26833b74828cefdf50d24626f3bfa2d33d4b55d95a5b989c18ce8',
i686: '373a96ee73bfdec3545a1af4a1218bf5d662b2c889b0c2ff40c6f3958cb70212',
x86_64: '13512f8bf0d1789ba1478eedeec8c764c2a0e8fd0bd6c6029f695298ada43a96'
})
depends_on 'ncurses' # R
def self.patch
# Add support for overriding installation prefix in Makefile
downloader 'https://patch-diff.githubusercontent.com/raw/ColinIanKing/faultstat/pull/6.patch', 'fe1c1faf89908646f32ece035ff74330560f34b1f0f236f9888d7f04df609210'
system 'git apply 6.patch'
end
def self.build
system "CPPFLAGS=-I#{CREW_PREFIX}/include/ncurses make"
end
def self.install
system 'make', "PREFIX=#{CREW_PREFIX}", "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end