1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="Shell scripts to manage POSIX accounts in an LDAP."
6 HOMEPAGE="http://contribs.martymac.com/"
7 SRC_URI="http://contribs.martymac.com/${PN}/${P}.tgz"
15 RDEPEND="net-nds/openldap
18 RUNTIMEDIR="/var/run/${PN}"
21 ETCFILE="ldapscripts.conf"
26 # Prepare sources, as the install script would do it
28 sed -i.orig -e "s|^_RUNTIMEFILE=.*|_RUNTIMEFILE=\"${RUNTIMEDIR}/${RUNTIMEFILE}\"|g" bin/*
29 sed -i.orig -e "s|^_CONFIGFILE=.*|_CONFIGFILE=\"${ETCDIR}/${ETCFILE}\"|g" etc/*
36 insinto "${RUNTIMEDIR}"
37 doins "etc/${RUNTIMEFILE}"
40 doins "etc/${ETCFILE}"
42 dodoc CHANGELOG README TODO VERSION