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

31 lines
774 B
Bash
Raw Normal View History

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
2015-08-21 14:31:25 +02:00
# $Id$
EAPI=6
DESCRIPTION="Shell scripts to manage POSIX accounts in an LDAP."
HOMEPAGE="http://contribs.martymac.org/"
SRC_URI="http://contribs.martymac.org/${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"
DOCS=( CHANGELOG README TODO )
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
}