summaryrefslogtreecommitdiff
blob: 000cce8072fb8f4aa7502c17c67c941952d4d98c (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
35
36
37
38
39
40
41
42
43
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Commandline and GUI tools that deal directly with NFSv4 ACLs"
HOMEPAGE="https://git.linux-nfs.org/?p=steved/nfs4-acl-tools.git;a=summary"
if [[ ${PV} != *_rc* ]] ; then
	SRC_URI="
		https://linux-nfs.org/~steved/${PN}/${P}.tar.gz
	"
	KEYWORDS="~amd64 ~x86"
else
	SRC_URI="
		https://git.linux-nfs.org/?p=steved/nfs4-acl-tools.git;a=snapshot;h=refs/tags/${P/_/-};sf=tgz
			-> ${P}.tar.gz
	"
	S="${WORKDIR}/${PN}-${P/_/-}"
fi

LICENSE="GPL-2"
SLOT="0"

RESTRICT="test"

RDEPEND="sys-apps/attr"
DEPEND="
	${RDEPEND}
	elibc_musl? ( sys-libs/queue-standalone )
"

PATCHES=(
	"${FILESDIR}/${PN}-0.3.7-libtool.patch" # bug #731162
	"${FILESDIR}/${PN}-0.3.5-jobserver-unavailable.patch"
	"${FILESDIR}/${PN}-0.4.2-libattr.patch"
)

src_prepare() {
	default
	eautoreconf
}