summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-10-04 14:48:27 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-10-04 14:48:27 +0000
commit9a198ec11b96ec00d65c557626e0f14688ebffa4 (patch)
tree907ffc7999654b6ef5ff8c0f1aa1f6cc7265bf25 /net-im/gg-transport/gg-transport-2.2.2-r1.ebuild
parentstable on amd64 (diff)
downloadgentoo-2-9a198ec11b96ec00d65c557626e0f14688ebffa4.tar.gz
gentoo-2-9a198ec11b96ec00d65c557626e0f14688ebffa4.tar.bz2
gentoo-2-9a198ec11b96ec00d65c557626e0f14688ebffa4.zip
Updated ebuild to fix several bugs about default config.
(Portage version: 2.1.2_pre2-r2)
Diffstat (limited to 'net-im/gg-transport/gg-transport-2.2.2-r1.ebuild')
-rw-r--r--net-im/gg-transport/gg-transport-2.2.2-r1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-im/gg-transport/gg-transport-2.2.2-r1.ebuild b/net-im/gg-transport/gg-transport-2.2.2-r1.ebuild
new file mode 100644
index 000000000000..63aff7439aac
--- /dev/null
+++ b/net-im/gg-transport/gg-transport-2.2.2-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header $
+
+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="~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
+
+}