/[gentoo-x86]/net-misc/rabbitmq-server/rabbitmq-server-1.5.4.ebuild
Gentoo

Contents of /net-misc/rabbitmq-server/rabbitmq-server-1.5.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sat Jul 3 08:21:06 2010 UTC (9 years, 6 months ago) by hollow
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
version bump
(Portage version: 2.2_rc67/cvs/Linux i686)

1 caleb 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 hollow 1.4 # $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/rabbitmq-server-1.5.4.ebuild,v 1.3 2009/04/20 11:29:43 caleb Exp $
4 caleb 1.1
5     DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang."
6     HOMEPAGE="http://www.rabbitmq.com/"
7     SRC_URI="http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/rabbitmq-server-generic-unix-${PV}.tar.gz"
8     LICENSE="MPL-1.1"
9     SLOT="0"
10     KEYWORDS="~amd64 ~x86"
11     IUSE=""
12    
13     # Q: is RDEPEND-only sufficient for a binary package, since we don't compile?
14     DEPEND="dev-lang/erlang"
15     RDEPEND="${DEPEND}"
16    
17     # grr: the packaged directory contains an underscore
18     MODNAME="rabbitmq_server-${PV}"
19     S="${WORKDIR}/${MODNAME}"
20    
21     src_install() {
22     # erlang module
23     local targetdir="/usr/$(get_libdir)/erlang/lib/${MODNAME}"
24     dodir "${targetdir}"
25     cp -dpR ebin include "${D}/${targetdir}"
26    
27     # scripts
28     dosbin sbin/*
29    
30     newinitd "${FILESDIR}/rabbitmq-server.init" rabbitmq-server
31    
32     # TODO:
33     # config to set env vars as per INSTALL?
34     # set LOGDIR to /var/log/rabbitmq.log
35     # run as different user?
36     }

  ViewVC Help
Powered by ViewVC 1.1.20