mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
dool: initial package
This commit is contained in:
parent
0f99a5cd40
commit
6fbbd1c695
@ -0,0 +1,25 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dool"
|
||||
PKG_VERSION="1.2.0"
|
||||
PKG_SHA256="a626ec796a2508443625314e464adec885cb22543157794a6255570b19f68a7d"
|
||||
PKG_LICENSE="GPL-3.0-or-later"
|
||||
PKG_SITE="https://github.com/scottchiefbaker/dool"
|
||||
PKG_URL="https://github.com/scottchiefbaker/dool/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3"
|
||||
PKG_LONGDESC="Python3 compatible clone of dstat"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
post_unpack() {
|
||||
rm ${PKG_BUILD}/Makefile
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -p dool ${INSTALL}/usr/bin
|
||||
cp -pr plugins ${INSTALL}/usr/bin
|
||||
printf "#!/bin/sh\n\necho \"\${0} has been replaced by dool\"" > ${INSTALL}/usr/bin/dstat
|
||||
chmod 755 ${INSTALL}/usr/bin/dstat
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user