blob: 7edd5460335bd0f3e965c4821abea809570b3b90 (
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
|
# Copyright 2004-2010 Sabayon
# Distributed under the terms of the GNU General Public License v2
# $
EAPI="3"
inherit base eutils
DESCRIPTION="The libuser library implements a standardized interface for manipulating and administering user and group accounts."
HOMEPAGE="https://fedorahosted.org/libuser"
SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
KEYWORDS="amd64 x86"
SLOT="0"
IUSE="ldap +popt sasl selinux"
COMMON_DEPEND="dev-libs/glib:2
ldap? ( net-nds/openldap )
popt? ( dev-libs/popt )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( sys-libs/libselinux )"
DEPEND="app-text/linuxdoc-tools
sys-devel/bison
sys-devel/gettext
${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
src_configure() {
cd "${S}"
econf $(use_with ldap) $(use_with popt) $(use_with sasl) \
$(use_with selinux) --with-python
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "Install failed"
}
|