summaryrefslogtreecommitdiff
path: root/repo/util/htop.xibuild
blob: 8a1445810b35e521430a9479a8d115994d2bb17a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 
}