bb-top: fixed a bug with cpu usage calculation
This commit is contained in:
parent
5fb03be858
commit
b2e8332739
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF31UxtujNQPu24w9xmo047ZEdpO2BRAS1f45pN5CLFi7Iurg8NeE/J0s4houMeCr+XVsAKoyiYczRoZnjPVFCiAI=
|
||||
SHA256 (Pkgfile) = cdf9a8fa88eb0cc046e77da4bc24095ea15fdf1ec51fc2e1c163bf16268cb3b8
|
||||
RWSagIOpLGJF31X5oy+5sXgT0kmHFavhkLWOQ/+2aUVsJxpKochzuPE/fzvXbdeIgZUf+iPngq3a8DVgVg8qaE6qPeF+qGUMEwc=
|
||||
SHA256 (Pkgfile) = 9db354642c1fdec9fafe71a85060ea2eeb5ff0040ca7a2e7e882679a4a6d7739
|
||||
SHA256 (.footprint) = bf635e7e87afa4f1e7a45b33d601302ef9f3bc239d2819d9c7300d8a6f8c0eec
|
||||
SHA256 (bb-0.4.3.tar.gz) = b37b1421f2252acfa37eca6fa3f98848e31acdeb548d51ad085809317242a0ea
|
||||
SHA256 (bb-6c36391b85b93aec5d14864f6822d00dd79f9ba6.tar.gz) = 974f8d7c3fdbe99741f8a860b3215e1155a7f586cab033e6b510a4c53e33916a
|
||||
|
@ -5,18 +5,15 @@
|
||||
|
||||
name=bb-top
|
||||
version=0.4.3
|
||||
release=1
|
||||
source=(https://github.com/epilys/bb/archive/$version/bb-$version.tar.gz)
|
||||
release=2
|
||||
_commit=6c36391b85b93aec5d14864f6822d00dd79f9ba6
|
||||
source=(https://github.com/TimB87/bb/archive/$_commit/bb-$_commit.tar.gz)
|
||||
|
||||
build() {
|
||||
cd bb-$version
|
||||
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
mkdir "$PKGMK_SOURCE_DIR/rust" || true
|
||||
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
||||
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
||||
|
||||
cargo update
|
||||
cargo fetch
|
||||
cargo build --release --locked
|
||||
install -Dt $PKG/usr/bin target/release/bb
|
||||
cargo build --release --manifest-path bb-$_commit/Cargo.toml
|
||||
|
||||
install -Dt $PKG/usr/bin bb-$_commit/target/release/bb
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user