0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-16 14:58:53 +00:00
2023-09-09 12:30:12 +00:00

26 lines
726 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="bottom"
PKG_VERSION="0.9.6"
PKG_SHA256="202130e0d7c362d0d0cf211f6a13e31be3a02f13f998f88571e59a7735d60667"
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 cargo:host"
PKG_LONGDESC="A TUI system monitor written in Rust."
PKG_TOOLCHAIN="manual"
make_target() {
cargo build \
--target ${TARGET_NAME} \
--release \
--locked \
--all-features
}
makeinstall_target() {
mkdir -p ${INSTALL}
cp ${PKG_BUILD}/.${TARGET_NAME}/target/${TARGET_NAME}/release/btm ${INSTALL}
}