gentoo/app-admin/ldapscripts/ldapscripts-2.0.5.ebuild

30 lines
785 B
Bash
Raw Normal View History

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Shell scripts to manage POSIX accounts in an LDAP."
HOMEPAGE="http://contribs.martymac.com/"
SRC_URI="http://contribs.martymac.com/${PN}/${P}.tgz"
2013-09-16 11:43:06 +02:00
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="net-nds/openldap
app-arch/sharutils"
src_compile() {
emake DESTDIR="${EROOT}" PREFIX="${EROOT}usr" LIBDIR="${EROOT}var/lib/${PN}" MANDIR="${EROOT}usr/share/man" ETCDIR="${EROOT}etc/${PN}" configure
}
src_install() {
emake DESTDIR="${ED}" PREFIX="${EROOT}usr" LIBDIR="${EROOT}var/lib/${PN}" MANDIR="${EROOT}usr/share/man" ETCDIR="${EROOT}etc/${PN}" install
dodoc CHANGELOG README TODO VERSION
}