summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-08-07 20:13:13 +0000
committerSven Wegener <swegener@gentoo.org>2007-08-07 20:13:13 +0000
commit7816f0dad665353cb15783ba2ced93a4598ed8ec (patch)
tree11125b61be59f1f863a61929a6e3c7cf3aa5b1fe
parentStable on ppc wrt bug #185823. (diff)
downloadhistorical-7816f0dad665353cb15783ba2ced93a4598ed8ec.tar.gz
historical-7816f0dad665353cb15783ba2ced93a4598ed8ec.tar.bz2
historical-7816f0dad665353cb15783ba2ced93a4598ed8ec.zip
Initial commit, ebuild taken from bug #171682 by Kai Sommer and Ryan among others.
Package-Manager: portage-2.1.3.3
-rw-r--r--net-im/centerim/ChangeLog11
-rw-r--r--net-im/centerim/centerim-4.22.1_p20070618.ebuild87
-rw-r--r--net-im/centerim/files/digest-centerim-4.22.1_p200706183
-rw-r--r--net-im/centerim/metadata.xml9
4 files changed, 110 insertions, 0 deletions
diff --git a/net-im/centerim/ChangeLog b/net-im/centerim/ChangeLog
new file mode 100644
index 000000000000..f6fd8f1ce347
--- /dev/null
+++ b/net-im/centerim/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-im/centerim
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/centerim/ChangeLog,v 1.1 2007/08/07 20:13:12 swegener Exp $
+
+*centerim-4.22.1_p20070618 (07 Aug 2007)
+
+ 07 Aug 2007; Sven Wegener <swegener@gentoo.org> +metadata.xml,
+ +centerim-4.22.1_p20070618.ebuild:
+ Initial commit, ebuild taken from bug #171682 by Kai Sommer and Ryan among
+ others.
+
diff --git a/net-im/centerim/centerim-4.22.1_p20070618.ebuild b/net-im/centerim/centerim-4.22.1_p20070618.ebuild
new file mode 100644
index 000000000000..24f805c29744
--- /dev/null
+++ b/net-im/centerim/centerim-4.22.1_p20070618.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/centerim/centerim-4.22.1_p20070618.ebuild,v 1.1 2007/08/07 20:13:12 swegener Exp $
+
+inherit eutils
+
+PROTOCOL_IUSE="aim gadu icq irc jabber lj msn rss yahoo"
+IUSE="${PROTOCOL_IUSE} bidi nls ssl crypt"
+
+DESCRIPTION="CenterIM is a fork of CenterICQ - a ncurses ICQ/Yahoo!/AIM/IRC/MSN/Jabber/GaduGadu/RSS/LiveJournal Client"
+SRC_URI="ftp://ftp.centerim.org/${PN}-${PV/*_p/}.tar.gz"
+HOMEPAGE="http://www.centerim.org/"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ bidi? ( dev-libs/fribidi )
+ ssl? ( >=dev-libs/openssl-0.9.6g )
+ jabber? ( crypt? ( >=app-crypt/gpgme-1.0.2 ) )
+ msn? (
+ net-misc/curl
+ dev-libs/openssl
+ )"
+
+RDEPEND="${DEPEND}
+ !net-im/centericq
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}"/${P/_*}
+
+check_protocol_iuse() {
+ local flag
+
+ for flag in ${PROTOCOL_IUSE}
+ do
+ use ${flag} && return 0
+ done
+
+ return 1
+}
+
+pkg_setup() {
+ if ! check_protocol_iuse
+ then
+ eerror
+ eerror "Please activate at least one of the following protocol USE flags:"
+ eerror "${PROTOCOL_IUSE}"
+ eerror
+ die "Please activate at least one protocol USE flag!"
+ fi
+
+ if use msn && ! built_with_use net-misc/curl ssl
+ then
+ eerror
+ eerror "As of right now, the msn use flags requires curl to be built"
+ eerror "with SSL support. Make sure ssl is in your USE flags and"
+ eerror "re-emerge net-misc/curl."
+ eerror
+ die "net-misc/curl dependencie issue"
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_with ssl) \
+ $(use_enable aim) \
+ $(use_with bidi fribidi) \
+ $(use_enable gadu gg) \
+ $(use_enable icq) \
+ $(use_enable irc) \
+ $(use_enable jabber) \
+ $(use_enable lj) \
+ $(use_enable msn) \
+ $(use_enable nls locales-fix) \
+ $(use_enable nls) \
+ $(use_enable rss) \
+ $(use_enable yahoo) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc ABOUT-NLS AUTHORS ChangeLog COPYING FAQ README THANKS TODO
+}
diff --git a/net-im/centerim/files/digest-centerim-4.22.1_p20070618 b/net-im/centerim/files/digest-centerim-4.22.1_p20070618
new file mode 100644
index 000000000000..922b52cd5011
--- /dev/null
+++ b/net-im/centerim/files/digest-centerim-4.22.1_p20070618
@@ -0,0 +1,3 @@
+MD5 55167ec8e1cf63e2e6c4d93bb868ef6f centerim-20070618.tar.gz 2627995
+RMD160 9a9ce6d6561486048e9f9e15f7e973d6dec5183d centerim-20070618.tar.gz 2627995
+SHA256 1ce660d759b4c050ff7f7869711a9b0051dd7f17dcf7482a376156605688d254 centerim-20070618.tar.gz 2627995
diff --git a/net-im/centerim/metadata.xml b/net-im/centerim/metadata.xml
new file mode 100644
index 000000000000..3b427d26f403
--- /dev/null
+++ b/net-im/centerim/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>swegener@gentoo.org</email>
+ <description>Primary Maintainer</description>
+</maintainer>
+</pkgmetadata>