summaryrefslogtreecommitdiff
path: root/repo/htop/htop.xibuild
blob: 75b33dc4468c73c9f474a049a8702221fc224e12 (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.2.1
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 
}