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

EAPI=8

inherit autotools

DESCRIPTION="Tool for performing actions on an Active Directory domain"
HOMEPAGE="https://www.freedesktop.org/software/realmd/adcli/adcli.html"
SRC_URI="https://gitlab.freedesktop.org/realmd/adcli/-/archive/${PV}/${P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

DEPEND="
	app-crypt/mit-krb5
	net-nds/openldap:=[sasl]"
RDEPEND="${DEPEND}"
BDEPEND="
	doc? (
		app-text/docbook-xml-dtd:4.3
		app-text/xmlto
		dev-libs/libxslt
	)"

PATCHES=(
	"${FILESDIR}"/${P}-glibc-2.34-resolv.patch
	"${FILESDIR}"/${P}-library-include-endian.h-for-le32toh.patch
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	econf $(use_enable doc)
}