summaryrefslogtreecommitdiff
path: root/repo/util/htop.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-13 13:19:39 +0000
committerdavidovski <david@davidovski.xyz>2022-02-13 13:19:39 +0000
commitabebf431dfa5030a6f60a29b42fff38833311415 (patch)
tree4089fe065965fd87848e5618870ecb4db19fd454 /repo/util/htop.xibuild
parent488c95cb4f40113626de74702458430aaf4120f5 (diff)
added htop and sensors
Diffstat (limited to 'repo/util/htop.xibuild')
-rw-r--r--repo/util/htop.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/util/htop.xibuild b/repo/util/htop.xibuild
new file mode 100644
index 0000000..8a14458
--- /dev/null
+++ b/repo/util/htop.xibuild
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+MAKEDEPS=(autoconf autotools make)
+DEPS=(libcap libnl ncurses lm-sensors hwloc)
+
+PKG_VER=3.1.2
+SOURCE=https://github.com/htop-dev/htop/releases/download/$PKG_VER/htop-$PKG_VER.tar.xz
+DESC="Interactive process viewer"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-cgroup \
+ --enable-delayacct \
+ --enable-openvz \
+ --enable-unicode \
+ --enable-vserver \
+ --enable-sensors
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}