blob: bb61b87bb2739f335ba00a170c137ec7ace76f51 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/gg-transport/gg-transport-2.2.2-r1.ebuild,v 1.4 2006/10/24 03:30:26 dang Exp $
DESCRIPTION="Gadu-Gadu transport for Jabber"
HOMEPAGE="http://jggtrans.jajcus.net/"
SRC_URI="http://jggtrans.jajcus.net/downloads/jggtrans-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
DEPEND="net-im/jabberd
>=dev-libs/glib-2.6.4
net-dns/libidn"
S="${WORKDIR}/jggtrans-${PV}"
src_install() {
make DESTDIR="${D}" install || die "install failed"
keepdir /var/spool/jabber/gg/
fowners jabber:jabber /var/spool/jabber/gg
newinitd ${FILESDIR}/jggtrans-${PVR} jggtrans
insinto /etc/jabber
doins jggtrans.xml
sed -i \
-e 's,/var/lib/jabber/spool/gg.localhost/,/var/spool/jabber/gg/,' \
-e 's,/var/lib/jabber/ggtrans.pid,/var/run/jabber/jggtrans.pid,' \
-e 's,/tmp/ggtrans.log,/var/log/jabber/jggtrans.log,' \
"${D}/etc/jabber/jggtrans.xml"
dodoc AUTHORS ChangeLog README README.Pl NEWS
}
|