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