summaryrefslogtreecommitdiff
path: root/repo/util/htop.xibuild
diff options
context:
space:
mode:
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
+}