mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 20:06:18 +00:00
26 lines
726 B
Makefile
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.4"
|
|
PKG_SHA256="199123ef354bcabaa8a2e3b7b477b324f5b647d503a2599d08296733846eea6e"
|
|
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}
|
|
}
|