{ "name": "powertop", "version": "2.15", "summary": "PowerTOP: shows which processes, devices and kernel settings use power and wake the CPU, and tunes power settings", "category": "tool", "license": "GPL-2.0-only", "homepage": "https://github.com/fenrus75/powertop", "source": { "url": "https://deb.debian.org/debian/pool/main/p/powertop/powertop_2.15.orig.tar.gz", "sha256": "e58ab3fd7b8ff5f4dd0d17f11848817e7d83c0a6918145ac81de03b5dccf8f49" }, "watch": {"kind": "index", "url": "https://deb.debian.org/debian/pool/main/p/powertop/", "regex": "powertop_([0-9]+(?:\\.[0-9]+)+)\\.orig\\.tar\\.gz"}, "deps": [ "ncurses", "libnl", "pciutils" ], "env_packages": [ "autoconf-archive", "autopoint" ], "static": true, "nss": true, "check": "t=$(mktemp -d) && sbin/powertop --version | has -x 'PowerTOP version 2.15' && if [ -n \"$HOST\" ]; then echo \"powertop 2.15: the measurement not run in a cross build (qemu-user passes on none of its perf_event_open calls, and powertop exits 1)\"; else (cd \"$t\" && \"$PREFIX/sbin/powertop\" --quiet --time=1 --html=\"$t/report.html\" > \"$t/out\" 2>&1) && has 'PowerTOP report' < \"$t/report.html\" && echo 'powertop 2.15: a one-second measurement of this machine written as an HTML report'; fi" }