1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Lakka-rk322x/packages/addons/addon-depends/system-tools-depends/bottom/package.mk
2022-06-12 12:30:08 +00:00

27 lines
748 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="bottom"
PKG_VERSION="0.6.8"
PKG_SHA256="4e4eb251972a7af8c46dd36bcf1335fea334fb670569434fbfd594208905b2d9"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/ClementTsang/bottom"
PKG_URL="https://github.com/ClementTsang/bottom/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain rust"
PKG_LONGDESC="A TUI system monitor written in Rust."
PKG_TOOLCHAIN="manual"
make_target() {
. "$(get_build_dir rust)/cargo/env"
cargo build \
${CARGO_Z_TARGET_APPLIES_TO_HOST} \
--release \
--locked \
--all-features
}
makeinstall_target() {
mkdir -p ${INSTALL}
cp ${PKG_BUILD}/.${TARGET_NAME}/*/release/btm ${INSTALL}
}