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

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Command-line utility for filesystem quotas"
HOMEPAGE="https://quotatool.ekenberg.se/"
#SRC_URI="https://quotatool.ekenberg.se/${P}.tar.gz"
SRC_URI="https://github.com/ekenberg/quotatool/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

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

RDEPEND="sys-fs/quota"

src_prepare() {
	default
	sed -e 's/gcc/${CC}/' -i tools/depend.sh || die # bug 931077
}

src_configure() {
	tc-export CC
	default
}