blob: dd114a7020f3cdb02750b8b358b84e092e8a47c0 (
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
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Zeroes out all free space on a filesystem"
HOMEPAGE="https://frippery.org/uml/"
SRC_URI="https://frippery.org/uml/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86"
DEPEND="sys-fs/e2fsprogs"
RDEPEND="${DEPEND}"
PATCHES=(
# Bug #712582, fix compile in musl environments.
"${FILESDIR}"/${PN}-include-sys_types.patch
"${FILESDIR}"/${PN}-respect-flags.patch
)
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
# Install into /sbin
into /
dosbin zerofree
}
|