summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/jit/jit-1.1.6-r3.ebuild')
-rw-r--r--net-im/jit/jit-1.1.6-r3.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/net-im/jit/jit-1.1.6-r3.ebuild b/net-im/jit/jit-1.1.6-r3.ebuild
new file mode 100644
index 000000000000..3bb1dca13290
--- /dev/null
+++ b/net-im/jit/jit-1.1.6-r3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# 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.1 2004/04/07 16:52:34 humpback Exp $
+
+inherit flag-o-matic
+
+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="~x86 ~sparc"
+
+DEPEND=""
+RDEPEND=">=net-im/jabberd-1.4.3"
+
+
+src_compile() {
+ epatch ${FILESDIR}/jit-patch-00
+ [ `use sparc` ] && epatch ${FILESDIR}/jit-sparc.patch
+ ./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/${P}/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
+}