summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/mu-conference/mu-conference-0.6.0-r2.ebuild')
-rw-r--r--net-im/mu-conference/mu-conference-0.6.0-r2.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/net-im/mu-conference/mu-conference-0.6.0-r2.ebuild b/net-im/mu-conference/mu-conference-0.6.0-r2.ebuild
new file mode 100644
index 000000000000..1c933de341ba
--- /dev/null
+++ b/net-im/mu-conference/mu-conference-0.6.0-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/mu-conference-0.6.0-r2.ebuild,v 1.1 2004/07/05 02:17:36 humpback Exp $
+
+inherit eutils
+
+DESCRIPTION="Multi-User Chat for jabberd"
+HOMEPAGE="http://mu-conference.jabberstudio.org/"
+SRC_URI="http://www.jabberstudio.org/files/mu-conference/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="x86 ~sparc"
+SLOT="0"
+
+DEPEND="=net-im/jabberd-1.4*
+ >=dev-libs/glib-2.2.1"
+
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ epatch ${FILESDIR}/mu-conference-makefile.patch
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ dodir /etc/jabber /usr/lib/jabberd /var/log/jabber/conference
+ keepdir /var/log/jabber/conference/
+
+ insinto /usr/lib/jabberd
+ doins src/mu-conference.so
+
+ insinto /etc/jabber
+ doins ${FILESDIR}/muctrans.xml
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/muc-transport.init muc-transport
+
+ dodoc README FAQ README.jcr ${FILESDIR}/README.Gentoo
+
+ fowners jabber:jabber /var/log/jabber/conference
+
+ fperms g-x /var/log/jabber/conference
+
+ fperms g+rw /var/log/jabber/conference
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please read /usr/share/doc/${P}/README.Gentoo.gz"
+ einfo "And please notice that now muc-transport comes with a init.d script"
+ einfo "dont forget to add it to your runlevel."
+ einfo
+}
+