blob: 91f7ef01abc78052e246a6e1d810395d297c49c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2009 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.12 2009/07/12 18:20:33 halcy0n 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 ~ppc"
SLOT="0"
DEPEND="net-im/jabberd
>=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
newconfd ${FILESDIR}/mu-conference-conf.d muc-transport
newinitd ${FILESDIR}/muc-transport.init-r2 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() {
elog
elog "Please read README.Gentoo in /usr/share/doc/${PF}/"
elog "And please notice that now muc-transport comes with a init.d script"
elog "dont forget to add it to your runlevel."
elog
}
|