comparison net-misc/rabbitmq-server/rabbitmq-server-1.5.0.ebuild @ 85:64f32487d83a

rabbit 1.5.0
author holger@hoho.dyndns.org
date Thu, 18 Dec 2008 13:01:47 +0100
parents net-misc/rabbitmq-server/rabbitmq-server-1.4.0.ebuild@f7de040b797f
children bcd9c6ae2107
comparison
equal deleted inserted replaced
84:49f1b15fc148 85:64f32487d83a
1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 inherit eutils
6
7 DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang."
8 HOMEPAGE="http://www.rabbitmq.com/"
9 SRC_URI="http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/rabbitmq-server-generic-unix-${PV}.tar.gz"
10 LICENSE="MPL"
11 SLOT="0"
12 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
13 IUSE=""
14
15 # Q: is RDEPEND-only sufficient for a binary package, since we don't compile?
16 DEPEND="dev-lang/erlang"
17 RDEPEND="${DEPEND}"
18
19 # grr: the packaged directory contains an underscore
20 MODNAME="rabbitmq_server-${PV}"
21 S="${WORKDIR}/${MODNAME}"
22
23 src_install() {
24 # erlang module
25 local targetdir="/usr/$(get_libdir)/erlang/lib/${MODNAME}"
26 dodir "${targetdir}"
27 cp -dpR ebin include src "${D}/${targetdir}"
28
29 # scripts
30 dosbin sbin/*
31
32 # docs
33 dodoc INSTALL LICENSE LICENSE-MPL-RabbitMQ
34
35 # TODO:
36 # config to set env vars as per INSTALL?
37 # set LOGDIR to /var/log/rabbitmq.log
38 # run as different user?
39 }