Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2020 Gentoo Authors |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
4 |
EAPI=7 |
5 |
|
6 |
inherit flag-o-matic |
7 |
|
8 |
DESCRIPTION="A selection of tools from Debian" |
9 |
HOMEPAGE="https://packages.qa.debian.org/d/debianutils.html" |
10 |
SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz" |
11 |
|
12 |
LICENSE="BSD GPL-2 SMAIL" |
13 |
SLOT="0" |
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" |
15 |
IUSE="+installkernel static" |
16 |
|
17 |
PDEPEND=" |
18 |
installkernel? ( |
19 |
|| ( |
20 |
sys-kernel/installkernel-gentoo |
21 |
sys-kernel/installkernel-systemd-boot |
22 |
) |
23 |
)" |
24 |
|
25 |
PATCHES=( "${FILESDIR}"/${PN}-3.4.2-no-bs-namespace.patch ) |
26 |
|
27 |
src_configure() { |
28 |
use static && append-ldflags -static |
29 |
default |
30 |
} |
31 |
|
32 |
src_install() { |
33 |
into / |
34 |
dobin tempfile run-parts |
35 |
|
36 |
into /usr |
37 |
dobin ischroot |
38 |
dosbin savelog |
39 |
|
40 |
doman ischroot.1 tempfile.1 run-parts.8 savelog.8 |
41 |
cd debian || die |
42 |
dodoc changelog control |
43 |
} |