diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2014-12-19 18:16:43 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-31 16:35:35 +0100 |
commit | 47c7a58ab439dfd452c818af69645a415d3769f7 (patch) | |
tree | 47d1a87aa8b489414a0affd3d71ab43f63d36bff /meta-oe/recipes-support/dstat | |
parent | afbeff6463b6c5df0bf4f27c152af618a8ce321d (diff) | |
download | meta-openembedded-contrib-47c7a58ab439dfd452c818af69645a415d3769f7.tar.gz |
dstat: add new recipe
Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat.
Dstat overcomes some of their limitations and adds some extra features,
more counters and flexibility.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/dstat')
-rw-r--r-- | meta-oe/recipes-support/dstat/dstat_0.7.2.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/dstat/dstat_0.7.2.bb b/meta-oe/recipes-support/dstat/dstat_0.7.2.bb new file mode 100644 index 0000000000..63f1812b99 --- /dev/null +++ b/meta-oe/recipes-support/dstat/dstat_0.7.2.bb @@ -0,0 +1,23 @@ +SUMMARY = "versatile resource statics tool" +DESCRIPTION = "Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat. \ +Dstat overcomes some of their limitations and adds some extra features, more counters \ +and flexibility. Dstat is handy for monitoring systems during performance tuning tests, \ +benchmarks or troubleshooting." +HOMEPAGE = "http://dag.wiee.rs/home-made/dstat" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +SRC_URI = "git://github.com/dagwieers/dstat.git" +SRC_URI[md5sum] = "798e050e2e024f08a272dd4b0e1eba41" +SRC_URI[sha256sum] = "96d1e6ea2434e477fa97322d92778f68458d7e57bc55bc4f72e29467a52cffd1" + +SRCREV = "5251397eb8d3b284a90bfdfaec0c8e1210146e3f" + +S = "${WORKDIR}/git" + +do_compile_prepend() { + #undo the step "make docs" + sed -i -e 's/$(MAKE) -C docs docs/# $(MAKE) -C docs docs/;' ${S}/Makefile +} +do_install() { + oe_runmake 'DESTDIR=${D}' install +} |