mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
bottom: adjust to new rust build
This commit is contained in:
parent
5e1733b6e4
commit
cb1602f719
@ -7,13 +7,13 @@ PKG_SHA256="102932d73a5b053c81bb7d9a7a8af35a0da1f9f391a62a58ba5cd1702daf4429"
|
||||
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_DEPENDS_TARGET="toolchain cargo:host"
|
||||
PKG_LONGDESC="A TUI system monitor written in Rust."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
make_target() {
|
||||
. "$(get_build_dir rust)/cargo/env"
|
||||
cargo build \
|
||||
--target ${TARGET_NAME} \
|
||||
--release \
|
||||
--locked \
|
||||
--all-features
|
||||
@ -21,5 +21,5 @@ make_target() {
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}
|
||||
cp ${PKG_BUILD}/.${TARGET_NAME}/*/release/btm ${INSTALL}
|
||||
cp ${PKG_BUILD}/.${TARGET_NAME}/target/${TARGET_NAME}/release/btm ${INSTALL}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user