summaryrefslogtreecommitdiff
path: root/repo/util/htop.xibuild
blob: c2918f50604bf5a55a32b8ac9ceb318829e41453 (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/sh

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 
}