blob: f0cb95769d4eced8f132ebac89da8b9aade5e695 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.15.1
EAPI=8
CRATES="
"
RUST_MIN_VER="1.88.0"
inherit desktop cargo
DESCRIPTION="Modern traceroute/mtr-style TUI with hop stats and optional ASN/geo enrichment"
HOMEPAGE="https://github.com/lance0/ttl"
SRC_URI="
https://github.com/lance0/ttl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
if [[ ${PKGBUMPING} != ${PVR} ]]; then
SRC_URI+="
mirror://gentoo/ttl-${PV}-crates.tar.xz
"
fi
LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 openssl
Unicode-3.0 Unicode-DFS-2016 WTFPL-2 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"
DOCS=(
CHANGELOG.md
README.md
SECURITY.md
)
src_install() {
cargo_src_install
doicon ttl.png ttlss.png
make_desktop_entry /usr/bin/ttl ttl ttl Network
}
|