/[gentoo-x86]/app-admin/mcollective/mcollective-2.8.0.ebuild
Gentoo

Contents of /app-admin/mcollective/mcollective-2.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Apr 19 09:37:04 2015 UTC (4 years, 10 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #541636

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-admin/mcollective/mcollective-2.8.0.ebuild,v 1.2 2015/03/27 16:28:18 ago Exp $
4
5 EAPI="5"
6
7 USE_RUBY="ruby19 ruby20"
8
9 inherit ruby-ng
10
11 DESCRIPTION="Framework to build server orchestration or parallel job execution
12 systems"
13 HOMEPAGE="http://marionette-collective.org/"
14 SRC_URI="http://puppetlabs.com/downloads/mcollective/${P}.tar.gz"
15
16 LICENSE="Apache-2.0"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE="doc +client"
20
21 DEPEND=""
22 RDEPEND="dev-ruby/stomp"
23
24 src_compile() {
25 einfo "nothing to compile"
26 }
27
28 each_ruby_install() {
29 doruby -r lib/*
30 insinto /usr/share/mcollective
31 use client && dosbin bin/mco
32 dosbin bin/mcollectived
33 if use doc ; then
34 dohtml -r doc/*
35 insinto /usr/share/doc/${P}/ext
36 doins -r ext/*
37 fi
38 newinitd "${FILESDIR}"/mcollectived.initd mcollectived
39 insinto /etc/mcollective
40 cd etc
41 for cfg in *.dist ; do
42 newins "${cfg}" "${cfg%%.dist}"
43 sed -i -e "s:^libdir.*:libdir = /usr/share/mcollective/plugins:" \
44 "${D}"/etc/mcollective/${cfg%%.dist} || die "sed failed"
45 done
46 insinto /etc/mcollective/plugin.d
47 }
48
49 pkg_postinst() {
50 einfo "Mcollective requires a stomp server installed and functioning before"
51 einfo "you can use it. The recommended server to use is ActiveMQ [1] but"
52 einfo "any other stomp compatible server should work."
53 einfo
54 einfo "It is recommended you read the \'getting started\' guide [2] if this"
55 einfo "is a new installation"
56 einfo
57 einfo "[1] http://activemq.apache.org/"
58 einfo "[2] http://code.google.com/p/mcollective/wiki/GettingStarted"
59 }

  ViewVC Help
Powered by ViewVC 1.1.20