summaryrefslogtreecommitdiff
blob: 65ca6f195078c57b14e05d31a64c019139415659 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="p@rdalys provides the full configuration set for the Kolab Server and is based on puppet."
HOMEPAGE="http://pardalys.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

SLOT="0"

LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=""
RDEPEND="dev-ruby/ruby-ldap
	>=app-admin/puppet-0.24.4-r1"

S=${WORKDIR}/${PN}

src_install() {

	dosbin "${S}"/bin/pardalys
	dobin "${S}"/bin/dev-pardalys

	insinto /usr/share/${PN}
	doins -r "${S}"/etc
	doins -r "${S}"/modules
	doins -r "${S}"/manifests

	dodir /usr/share/${PN}/facter

	# Link in facts
	for FACT in modules/**/plugins/facter/*.rb
	do
	  dosym /usr/share/${PN}/$FACT /usr/share/${PN}/facter
	done

	dodoc INSTALL HACKING README CHANGES
}