diff --git a/packages/addons/addon-depends/system-tools-depends/dstat/package.mk b/packages/addons/addon-depends/system-tools-depends/dstat/package.mk new file mode 100644 index 0000000000..3a6e01bc8a --- /dev/null +++ b/packages/addons/addon-depends/system-tools-depends/dstat/package.mk @@ -0,0 +1,41 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2016-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="dstat" +PKG_VERSION="77e9347" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://dag.wiee.rs/home-made/dstat" +PKG_URL="https://github.com/dagwieers/dstat/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain Python" +PKG_SECTION="tools" +PKG_SHORTDESC="Versatile resource statistics tool" +PKG_LONGDESC="Versatile resource statistics tool" +PKG_AUTORECONF="no" + +post_unpack() { +rm $PKG_BUILD/Makefile +} + +make_target() { + : # nothing to do +} + +makeinstall_target() { + : # nothing to do +} diff --git a/packages/addons/tools/system-tools/package.mk b/packages/addons/tools/system-tools/package.mk index 411b31e06b..f81be046ea 100644 --- a/packages/addons/tools/system-tools/package.mk +++ b/packages/addons/tools/system-tools/package.mk @@ -38,6 +38,7 @@ PKG_AUTORECONF="no" PKG_DEPENDS_TARGET="toolchain \ autossh \ diffutils \ + dstat \ dtach \ efibootmgr \ evtest \ @@ -78,6 +79,9 @@ addon() { cp -P $(get_build_dir diffutils)/.$TARGET_NAME/src/diff3 $ADDON_BUILD/$PKG_ADDON_ID/bin cp -P $(get_build_dir diffutils)/.$TARGET_NAME/src/sdiff $ADDON_BUILD/$PKG_ADDON_ID/bin + # dstat + cp -P $(get_build_dir dstat)/dstat $ADDON_BUILD/$PKG_ADDON_ID/bin + # dtach cp -P $(get_build_dir dtach)/.$TARGET_NAME/dtach $ADDON_BUILD/$PKG_ADDON_ID/bin