dstat: initial package

This commit is contained in:
cvh 2017-07-06 22:59:38 +02:00
parent 66404925eb
commit 2b7f76693f
2 changed files with 45 additions and 0 deletions

View File

@ -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 <http://www.gnu.org/licenses/>.
################################################################################
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
}

View File

@ -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