Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "versatile resource statics tool" |
| 2 | DESCRIPTION = "Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat. \ |
| 3 | Dstat overcomes some of their limitations and adds some extra features, more counters \ |
| 4 | and flexibility. Dstat is handy for monitoring systems during performance tuning tests, \ |
| 5 | benchmarks or troubleshooting." |
| 6 | HOMEPAGE = "http://dag.wiee.rs/home-made/dstat" |
| 7 | LICENSE = "GPLv2" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 9 | SRC_URI = "git://github.com/dagwieers/dstat.git" |
| 10 | SRC_URI[md5sum] = "798e050e2e024f08a272dd4b0e1eba41" |
| 11 | SRC_URI[sha256sum] = "96d1e6ea2434e477fa97322d92778f68458d7e57bc55bc4f72e29467a52cffd1" |
| 12 | |
| 13 | SRCREV = "5251397eb8d3b284a90bfdfaec0c8e1210146e3f" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | do_compile_prepend() { |
| 18 | #undo the step "make docs" |
| 19 | sed -i -e 's/$(MAKE) -C docs docs/# $(MAKE) -C docs docs/;' ${S}/Makefile |
| 20 | } |
| 21 | do_install() { |
| 22 | oe_runmake 'DESTDIR=${D}' install |
| 23 | } |