blob: 33508f9843e861498445b0223c3744075ad8e857 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "Interactive process viewer"
2HOMEPAGE = "http://hisham.hm/htop"
3SECTION = "console/utils"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3"
6
7DEPENDS = "ncurses"
8
9SRC_URI = "http://hisham.hm/htop/releases/${PV}/${BP}.tar.gz \
10 file://0001-Use-pkg-config.patch"
11SRC_URI[md5sum] = "f262b66ad6c194782f4d3a80627e84c8"
12SRC_URI[sha256sum] = "3260be990d26e25b6b49fc9d96dbc935ad46e61083c0b7f6df413e513bf80748"
13
14inherit autotools pkgconfig
15
16PACKAGECONFIG ??= "proc \
17 cgroup \
18 taskstats \
19 unicode \
20 linux-affinity \
21 delayacct"
22PACKAGECONFIG[proc] = "--enable-proc,--disable-proc"
23PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz"
24PACKAGECONFIG[cgroup] = "--enable-cgroup,--disable-cgroup"
25PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver"
26PACKAGECONFIG[taskstats] = "--enable-taskstats,--disable-taskstats"
27PACKAGECONFIG[unicode] = "--enable-unicode,--disable-unicode"
28PACKAGECONFIG[linux-affinity] = "--enable-linux-affinity,--disable-linux-affinity"
29PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc"
30PACKAGECONFIG[setuid] = "--enable-setuid,--disable-setuid"
31PACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl"
32
33do_configure_prepend () {
34 rm -rf ${S}/config.h
35}