blob: 31170692d05fac6ebda574f74ea7ec8bd35a7696 (
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 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/cpu/cpu-1.4.3.ebuild,v 1.7 2005/01/01 10:57:27 eradicator Exp $
DESCRIPTION="LDAP user management tool written in C and loosely based on FreeBSD's pw(8)"
HOMEPAGE="http://cpu.sourceforge.net/"
SRC_URI="mirror://sourceforge/cpu/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""
RDEPEND="net-nds/openldap
sys-libs/cracklib"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.54"
src_compile() {
export WANT_AUTOCONF=2.5
local myconf
# provide PASSWD support as well
# It's broken in the application at the moment, so lets not...
# myconf="${myconf} --with-passwd"
# Tell it where to find LDAP
myconf="${myconf} --with-ldap"
# Tell it where to find CRACKLIB
myconf="${myconf} --with-libcrack"
econf ${myconf} || die "Configure failure"
emake || die "Make failure"
}
src_install() {
einstall datadir="${D}/usr/share/doc/${PF}" || die "Einstall failure"
dodoc AUTHORS ChangeLog NEWS README TODO
}
|