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
#!/usr/bin/make -f
# debian/rules for agtop — builds the Rust binary, offline, against
# the vendored crates that packages/ppa/build.sh stages into the
# orig.tar.gz before debuild runs.
#
# Launchpad PPA builders have NO network during the build phase, so
# we cannot rely on dh-cargo's default behaviour of resolving deps
# against crates.io or against Debian's `librust-*-dev` archive.
# Instead the upstream tarball ships:
#
# vendor/ cargo-vendor output, full dep tree
# .cargo/config.toml redirects crate fetches to vendor/
#
# `--frozen --offline` then make cargo refuse to touch the network.
export DEB_BUILD_MAINT_OPTIONS =
export RUSTFLAGS =
export CARGO_NET_OFFLINE =
:
:
:
:
: