summaryrefslogtreecommitdiff
path: root/repo/util/htop/htop.xibuild
blob: 0f8d5c2fdf7ae93f4a74770c7cd09b44faf28a7b (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 make"
DEPS="libcap libnl ncurses lm-sensors "

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 
}