blob: 4aaff9eb0f37fd522a38a23c0b3f6693041f8cb0 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/jit/jit-1.1.6-r3.ebuild,v 1.18 2005/09/17 21:31:13 mr_bones_ Exp $
inherit flag-o-matic eutils
DESCRIPTION="ICQ transport for wpjabber / jabberd"
HOMEPAGE="http://jit.jabberstudio.org/"
SRC_URI="http://www.jabberstudio.org/files/jit/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS="~alpha ~amd64 hppa ~ppc sparc x86"
DEPEND=""
RDEPEND=">=net-im/jabberd-1.4.3-r3"
src_unpack() {
unpack ${A}
cd "${S}"
epatch ${FILESDIR}/jit-patch-00
use sparc && epatch ${FILESDIR}/jit-sparc.patch
}
src_compile() {
./configure
emake || die
cp ${S}/jabberd/jabberd ${S}/jabberd/jit-wpjabber
}
src_install() {
dodir /etc/jabber /usr/lib/jabber /usr/sbin
insinto /usr/lib/wpjabber
doins jit/jit.so
exeinto /usr/sbin
doexe jabberd/jit-wpjabber
insinto /etc/jabber
doins ${FILESDIR}/jit.xml
fowners jabber:jabber /usr/sbin/jit-wpjabber
fperms o-rwx /etc/jabber
fperms u+xs /usr/sbin/jit-wpjabber
exeinto /etc/init.d
newexe ${FILESDIR}/jit-transport.init jit-transport
dodoc ${FILESDIR}/README.Gentoo
}
pkg_postinst() {
einfo
einfo "Please read /usr/share/doc/${PF}/README.Gentoo.gz"
einfo "And please notice that now jit-transport comes with a init.d script"
einfo "dont forget to add it to your runlevel."
einfo
}
|