annotate net-misc/rabbitmq-server/rabbitmq-server-1.4.0.ebuild @ 73:19c1c5102437

merge from central
author root@gentoo.local
date Tue, 10 Feb 2009 03:36:58 +0100
parents acd741f300f7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
1 # Copyright 1999-2008 Gentoo Foundation
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
3 # $Header: $
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
4
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
5 inherit eutils
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
6
58
92f35dfbf2b8 cleanup template comments
holger@hoho.dyndns.org
parents: 55
diff changeset
7 DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang."
92f35dfbf2b8 cleanup template comments
holger@hoho.dyndns.org
parents: 55
diff changeset
8 HOMEPAGE="http://www.rabbitmq.com/"
92f35dfbf2b8 cleanup template comments
holger@hoho.dyndns.org
parents: 55
diff changeset
9 SRC_URI="http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/rabbitmq-server-generic-unix-${PV}.tar.gz"
92f35dfbf2b8 cleanup template comments
holger@hoho.dyndns.org
parents: 55
diff changeset
10 LICENSE="MPL"
92f35dfbf2b8 cleanup template comments
holger@hoho.dyndns.org
parents: 55
diff changeset
11 SLOT="0"
92f35dfbf2b8 cleanup template comments
holger@hoho.dyndns.org
parents: 55
diff changeset
12 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
23
04cba7df88a1 fix USE flags & dependency on erlang
holger@hoho.dyndns.org
parents: 19
diff changeset
13 IUSE=""
58
92f35dfbf2b8 cleanup template comments
holger@hoho.dyndns.org
parents: 55
diff changeset
14
60
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
15 # Q: is RDEPEND-only sufficient for a binary package, since we don't compile?
23
04cba7df88a1 fix USE flags & dependency on erlang
holger@hoho.dyndns.org
parents: 19
diff changeset
16 DEPEND="dev-lang/erlang"
11
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
17 RDEPEND="${DEPEND}"
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
18
60
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
19 # grr: the packaged directory contains an underscore
59
6a65c52cb465 dodoc works
holger@hoho.dyndns.org
parents: 58
diff changeset
20 S="${WORKDIR}/rabbitmq_server-${PV}"
11
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
21
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
22 src_install() {
60
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
23 # the local erlang module directory
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
24 local targetdir="/usr/$(get_libdir)/erlang/lib/${P}"
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
25
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
26 # scripts
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
27 dosbin sbin/*
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
28
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
29 # erlang module
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
30 dodir "${targetdir}"
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
31 cp -dpR ebin include src "${D}/${targetdir}"
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
32
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
33 # docs
59
6a65c52cb465 dodoc works
holger@hoho.dyndns.org
parents: 58
diff changeset
34 dodoc INSTALL LICENSE LICENSE-MPL-RabbitMQ
6a65c52cb465 dodoc works
holger@hoho.dyndns.org
parents: 58
diff changeset
35
60
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
36 # TODO:
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
37 # config to set env vars as per INSTALL?
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
38 # set LOGDIR to /var/log/rabbitmq.log
acd741f300f7 it's alive
holger@hoho.dyndns.org
parents: 59
diff changeset
39 # run as different user?
11
b1d2c5ed0d7b initial skeleton
holger@hoho.dyndns.org
parents:
diff changeset
40 }