summaryrefslogtreecommitdiff
blob: e9123e539434e0ee6c098a02b4439d68bcc420a0 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-nds/nsscache/nsscache-0.8.3.ebuild,v 1.2 2009/03/18 22:58:52 robbat2 Exp $

inherit distutils

DESCRIPTION="commandline tool to sync directory services to local cache."
HOMEPAGE="http://code.google.com/p/nsscache/"
SRC_URI="http://nsscache.googlecode.com/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nssdb nsscache"

RDEPEND="dev-python/python-ldap
		nssdb? ( sys-libs/nss-db )
		nsscache? ( sys-auth/libnss-cache )"
DEPEND="$RDEPEND"

src_install() {
	distutils_src_install
	insinto /etc
	doins "$FILESDIR/nsscache.conf" # overwrite default with working config.
	doman *.[1-8]
	dodoc THANKS nsscache.cron
}