Mercurial > hg > portage
annotate net-misc/rabbitmq-server/rabbitmq-server-1.5.3.ebuild @ 141:47262047ff3c
Backed out changeset 4a719c618dfb
author | Dirk Olmes <dirk.olmes@googlemail.com> |
---|---|
date | Thu, 02 Jul 2009 14:16:14 +0200 |
parents | e20430b8f81b |
children |
rev | line source |
---|---|
76
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
1 # Copyright 1999-2008 Gentoo Foundation |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
2 # Distributed under the terms of the GNU General Public License v2 |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
3 # $Header: $ |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
4 |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
5 inherit eutils |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
6 |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
7 DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang." |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
8 HOMEPAGE="http://www.rabbitmq.com/" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
9 SRC_URI="http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/rabbitmq-server-generic-unix-${PV}.tar.gz" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
10 LICENSE="MPL" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
11 SLOT="0" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
12 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
13 IUSE="" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
14 |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
15 # Q: is RDEPEND-only sufficient for a binary package, since we don't compile? |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
16 DEPEND="dev-lang/erlang" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
17 RDEPEND="${DEPEND}" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
18 |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
19 # grr: the packaged directory contains an underscore |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
20 MODNAME="rabbitmq_server-${PV}" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
21 S="${WORKDIR}/${MODNAME}" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
22 |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
23 src_install() { |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
24 # erlang module |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
25 local targetdir="/usr/$(get_libdir)/erlang/lib/${MODNAME}" |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
26 dodir "${targetdir}" |
86 | 27 cp -dpR ebin include "${D}/${targetdir}" |
76
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
28 |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
29 # scripts |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
30 dosbin sbin/* |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
31 |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
32 # docs |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
33 dodoc INSTALL LICENSE LICENSE-MPL-RabbitMQ |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
34 |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
35 # TODO: |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
36 # config to set env vars as per INSTALL? |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
37 # set LOGDIR to /var/log/rabbitmq.log |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
38 # run as different user? |
f7de040b797f
keep old package name, but install ebin with underscore
holger@hoho.dyndns.org
parents:
diff
changeset
|
39 } |