summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2009-11-03 17:49:04 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2009-11-03 17:49:04 +0000
commit9ff67268409f1876d2b5ef98a73d17d692f865b6 (patch)
tree07287d3b1633aeb4252b66f6703f77ba057eee32 /net-irc/irssi-xmpp
parentalpha/arm/ia64/s390/sh/sparc/x86 stable wrt #289958 (diff)
downloadgentoo-2-9ff67268409f1876d2b5ef98a73d17d692f865b6.tar.gz
gentoo-2-9ff67268409f1876d2b5ef98a73d17d692f865b6.tar.bz2
gentoo-2-9ff67268409f1876d2b5ef98a73d17d692f865b6.zip
Initial import, ebuild by Tim Weber (#291577)
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'net-irc/irssi-xmpp')
-rw-r--r--net-irc/irssi-xmpp/ChangeLog10
-rw-r--r--net-irc/irssi-xmpp/irssi-xmpp-0.50.ebuild40
-rw-r--r--net-irc/irssi-xmpp/metadata.xml13
3 files changed, 63 insertions, 0 deletions
diff --git a/net-irc/irssi-xmpp/ChangeLog b/net-irc/irssi-xmpp/ChangeLog
new file mode 100644
index 000000000000..917532d09165
--- /dev/null
+++ b/net-irc/irssi-xmpp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-irc/irssi-xmpp
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-xmpp/ChangeLog,v 1.1 2009/11/03 17:49:04 dertobi123 Exp $
+
+*irssi-xmpp-0.50 (03 Nov 2009)
+
+ 03 Nov 2009; Tobias Scherbaum <dertobi123@gentoo.org>
+ +irssi-xmpp-0.50.ebuild, +metadata.xml:
+ Initial import, ebuild by Tim Weber (#291577)
+
diff --git a/net-irc/irssi-xmpp/irssi-xmpp-0.50.ebuild b/net-irc/irssi-xmpp/irssi-xmpp-0.50.ebuild
new file mode 100644
index 000000000000..3767c39eece0
--- /dev/null
+++ b/net-irc/irssi-xmpp/irssi-xmpp-0.50.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-xmpp/irssi-xmpp-0.50.ebuild,v 1.1 2009/11/03 17:49:04 dertobi123 Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="An irssi plugin providing Jabber/XMPP support"
+HOMEPAGE="http://cybione.org/~irssi-xmpp/"
+SRC_URI="http://cybione.org/~${PN}/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=net-irc/irssi-0.8.13
+ >=net-libs/loudmouth-1.2.0[debug]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Patch config.mk to include local CFLAGS and LDFLAGS.
+ # Those can probably be removed after 0.50 since upstream fixed it.
+ # Also set PREFIX and CC to the values we prefer.
+ sed -i \
+ -e "s#^CFLAGS = #CFLAGS = ${CFLAGS} #" \
+ -e "s#^LDFLAGS = #LDFLAGS = ${LDFLAGS} #" \
+ -e "/^PREFIX ?\\?= /cPREFIX = /usr" \
+ -e "/^CC = /cCC = $(tc-getCC)" \
+ config.mk || die "patching config.mk failed"
+ # Patch Makefile to remove /irssi-xmpp suffix for docs.
+ sed -i -e 's#\${IRSSI_DOC}/irssi-xmpp$#${IRSSI_DOC}#' \
+ Makefile || die "patching Makefile failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" IRSSI_DOC="/usr/share/doc/${PF}" \
+ install || die "install failed"
+}
diff --git a/net-irc/irssi-xmpp/metadata.xml b/net-irc/irssi-xmpp/metadata.xml
new file mode 100644
index 000000000000..dbf54d4acc40
--- /dev/null
+++ b/net-irc/irssi-xmpp/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>scy-bugs-gentoo@scytale.name</email>
+ <name>Tim Weber</name>
+ <description>Ebuild maintainer</description>
+</maintainer>
+<maintainer>
+ <email>dertobi123@gentoo.org</email>
+ <description>Proxy maintainer</description>
+</maintainer>
+</pkgmetadata>