Commit 6acc35e5 authored by Casey Strouse's avatar Casey Strouse Committed by Ed Reel

Add faultstat package (#3403)

* Add faultstat package

Faultstat measures page fault activity and swap utilization of processes. Tested on ARM.

* Change MANPATH to use crew default.
parent b325b501
require 'package'
class Faultstat < Package
description 'Faultstat measures page fault activity and swap utilization of processes'
homepage 'https://kernel.ubuntu.com/~cking/faultstat/'
version '0.01.01'
source_url 'https://kernel.ubuntu.com/~cking/tarballs/faultstat/faultstat-0.01.01.tar.xz'
source_sha256 '81218818fe7498411797289bdd0967e82665d2065407be8b5335eaf2959b8991'
binary_url ({
})
binary_sha256 ({
})
def self.build
system "CPPFLAGS=-I#{CREW_PREFIX}/include/ncurses make"
end
def self.install
system "install -Dm755 faultstat #{CREW_DEST_PREFIX}/bin/faultstat"
system "install -Dm644 faultstat.8 #{CREW_DEST_PREFIX}/share/man/man8/faultstat.8"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment