my private gentoo overlay
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
776 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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"
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
}