summaryrefslogtreecommitdiff
blob: 6739b334ab1149349261f9701fbba3136450293f (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Command-line utility for filesystem quotas"
HOMEPAGE="https://quotatool.ekenberg.se/"
SRC_URI="https://quotatool.ekenberg.se/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ppc x86"

RDEPEND="sys-fs/quota"

PATCHES=(
	"${FILESDIR}"/${PN}-1.4.13-fix-buildsystem.patch
	"${FILESDIR}"/${P}-clang16.patch
	"${FILESDIR}"/${P}-fix-autoconf.patch
	"${FILESDIR}"/${P}-warnings.patch
)

src_configure() {
	tc-export CC
	default
}

src_install() {
	# TODO: drop on next release (https://github.com/ekenberg/quotatool/commit/5529c8084a06d4d95905f76e47d2621564876081)
	dodir /usr/sbin /usr/share/man/man8
	default
}