forked from ports/contrib
gping: 1.4.0 -> 1.5.1
This commit is contained in:
parent
d552a2f405
commit
a1d9181d64
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF37aHZGSq+jBrBx1Mf6MliF2oqYVCU6ou6ck2Jl9gLGOWme8rP1egEc77w7hVErFXweMyYMNpjAAHw3X3/Rduzwo=
|
||||
SHA256 (Pkgfile) = 47388c83a2fda41170ae0aff50c8a831d0186a621caad9bfe21c50457268e0a6
|
||||
RWSagIOpLGJF3+KEFPgFcHSc99TpriAbF2Gf2gSk93Kt3kJih7bcIiegUes8anCHaN224YENn2M4fJqxvwSHc8cqIiILob7+Lw8=
|
||||
SHA256 (Pkgfile) = cd587de7a155d80fe681827e317023ee62996059ae376071f6c60c11bed5e223
|
||||
SHA256 (.footprint) = ac75b1ad365517d880549a3d9e838f6c621a662df7c2b41f7a8a8fdad9445a60
|
||||
SHA256 (gping-v1.4.0.tar.gz) = f68735ee9f6f3fde6881b727c518550d9c486a4259c0a2a2d261971715b77970
|
||||
SHA256 (gping-v1.5.1.tar.gz) = d7f4f3e3971e420d40a1fc94346891677e59506afcdc392c4209a9aa901bc1e2
|
||||
|
@ -4,19 +4,15 @@
|
||||
# Depends on: rust
|
||||
|
||||
name=gping
|
||||
version=1.4.0
|
||||
version=1.5.1
|
||||
release=1
|
||||
source=(https://github.com/orf/gping/archive/refs/tags/$name-v$version.tar.gz)
|
||||
|
||||
build() {
|
||||
mv $name-$name-v$version $name-v$version
|
||||
cd $name-v$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 build --release
|
||||
cargo build --release --manifest-path $name-$name-v$version/Cargo.toml
|
||||
|
||||
install -D -m 0755 -t $PKG/usr/bin target/release/gping
|
||||
install -Dt $PKG/usr/bin $name-$name-v$version/target/release/$name
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user