changeset 76:f7de040b797f

keep old package name, but install ebin with underscore
author holger@hoho.dyndns.org
date Sat, 23 Aug 2008 01:14:29 +0200
parents fe9845360ff0
children 3d2e64e09140
files net-misc/rabbitmq-server/Manifest net-misc/rabbitmq-server/rabbitmq-server-1.4.0.ebuild net-misc/rabbitmq_server/Manifest net-misc/rabbitmq_server/rabbitmq_server-1.4.0.ebuild
diffstat 4 files changed, 41 insertions(+), 38 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-misc/rabbitmq-server/Manifest	Sat Aug 23 01:14:29 2008 +0200
@@ -0,0 +1,2 @@
+DIST rabbitmq-server-generic-unix-1.4.0.tar.gz 394991 RMD160 f3ced06ec6f8ced09a9e0f5c60f0b73954ea8634 SHA1 bea27fa2255324f13e343ed82c50e69c6983628a SHA256 642ffe9cdca8ac5bd030647d24d60cca388df20f1d6a5913c3a2ae036f75018e
+EBUILD rabbitmq-server-1.4.0.ebuild 1055 RMD160 6b59230f0c370e15ba000abd2e27202c62bdae57 SHA1 64a270716ba381d350c55d4b228cc9a931d6648b SHA256 25f5608d699fb3ba62ada573b423ba8c3e50d97b0a7e317d93141e68b729fba0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/net-misc/rabbitmq-server/rabbitmq-server-1.4.0.ebuild	Sat Aug 23 01:14:29 2008 +0200
@@ -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 src "${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?
+}
--- a/net-misc/rabbitmq_server/Manifest	Sat Aug 23 00:47:05 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-DIST rabbitmq-server-generic-unix-1.4.0.tar.gz 394991 RMD160 f3ced06ec6f8ced09a9e0f5c60f0b73954ea8634 SHA1 bea27fa2255324f13e343ed82c50e69c6983628a SHA256 642ffe9cdca8ac5bd030647d24d60cca388df20f1d6a5913c3a2ae036f75018e
-EBUILD rabbitmq_server-1.4.0.ebuild 937 RMD160 70219a1ed9d6dbd552f3b5a6735f0c02eb44fa38 SHA1 4caf384410dad887c1d981cb4a3874bd309cf40c SHA256 d272f8bcb741bede349732867fc24a838ac9469fccdd81372d5289b8a815e39d
-MISC rabbitmq_server-1.4.0.ebuild~ 1067 RMD160 de4c27b1b858ad7f9fe040420e0a117885379c68 SHA1 be686b860264a90fd82b4ee1419f56554874eb8e SHA256 c8d47ed2bdb45ec16d564e43fe859ec3e02a19c65e66154120d57dbf9194dd0e
--- a/net-misc/rabbitmq_server/rabbitmq_server-1.4.0.ebuild	Sat Aug 23 00:47:05 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-# 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}"
-
-src_install() {
-	# erlang module
-	local targetdir="/usr/$(get_libdir)/erlang/lib/${P}"
-	dodir "${targetdir}"
-	cp -dpR ebin include src "${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?
-}