Mercurial > hg > portage
diff net-misc/rabbitmq-server/rabbitmq-server-1.5.3.ebuild @ 105:e20430b8f81b
bump rabbitmq to 1.5.3
author | holger@hoho.dyndns.org |
---|---|
date | Tue, 24 Feb 2009 20:19:18 +0100 |
parents | net-misc/rabbitmq-server/rabbitmq-server-1.5.1.ebuild@385a4d49f504 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/rabbitmq-server/rabbitmq-server-1.5.3.ebuild Tue Feb 24 20:19:18 2009 +0100 @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang." +HOMEPAGE="http://www.rabbitmq.com/" +SRC_URI="http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/rabbitmq-server-generic-unix-${PV}.tar.gz" +LICENSE="MPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# Q: is RDEPEND-only sufficient for a binary package, since we don't compile? +DEPEND="dev-lang/erlang" +RDEPEND="${DEPEND}" + +# grr: the packaged directory contains an underscore +MODNAME="rabbitmq_server-${PV}" +S="${WORKDIR}/${MODNAME}" + +src_install() { + # erlang module + local targetdir="/usr/$(get_libdir)/erlang/lib/${MODNAME}" + dodir "${targetdir}" + cp -dpR ebin include "${D}/${targetdir}" + + # scripts + dosbin sbin/* + + # docs + dodoc INSTALL LICENSE LICENSE-MPL-RabbitMQ + + # TODO: + # config to set env vars as per INSTALL? + # set LOGDIR to /var/log/rabbitmq.log + # run as different user? +}