mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/ttl: new aport
This commit is contained in:
parent
411ed77ba0
commit
8051c451c7
40
testing/ttl/APKBUILD
Normal file
40
testing/ttl/APKBUILD
Normal file
@ -0,0 +1,40 @@
|
||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=ttl
|
||||
pkgver=0.19.0
|
||||
pkgrel=0
|
||||
pkgdesc="Fast, modern traceroute with lot of options. A better mtr."
|
||||
url="https://github.com/lance0/ttl"
|
||||
arch="all"
|
||||
license="Apache-2.0 AND MIT"
|
||||
makedepends="
|
||||
cargo
|
||||
cargo-auditable
|
||||
cargo-c
|
||||
cmake
|
||||
rust-bindgen
|
||||
clang-dev
|
||||
samurai"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/lance0/ttl/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="net"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
cargo fetch --target="$CHOST" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --release --frozen
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --release --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "$builddir"/target/release/"$pkgname" "$pkgdir"/usr/bin/"$pkgname"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ae8930902db7d1076d57ef8261bb0156e1644666ddba8f07e95457144ee7c84cdc72989e2d1de01ec941bbccf0c73961e704fcafdbe53893af42f4c375bf8b31 ttl-0.19.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user