diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2007-02-26 08:35:18 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2007-02-26 08:35:18 +0000 |
commit | feb75747d4e80daa7174f70d1b9bae0520d05ea4 (patch) | |
tree | 89a69c017736a9b7aad5a09e7b8325db81df548f /net-im/mcabber/mcabber-0.9.1.ebuild | |
parent | stable x86, requested by ian on IRC (diff) | |
download | gentoo-2-feb75747d4e80daa7174f70d1b9bae0520d05ea4.tar.gz gentoo-2-feb75747d4e80daa7174f70d1b9bae0520d05ea4.tar.bz2 gentoo-2-feb75747d4e80daa7174f70d1b9bae0520d05ea4.zip |
version bump
(Portage version: 2.1.2)
Diffstat (limited to 'net-im/mcabber/mcabber-0.9.1.ebuild')
-rw-r--r-- | net-im/mcabber/mcabber-0.9.1.ebuild | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/net-im/mcabber/mcabber-0.9.1.ebuild b/net-im/mcabber/mcabber-0.9.1.ebuild new file mode 100644 index 000000000000..bdf1fdc7dd0d --- /dev/null +++ b/net-im/mcabber/mcabber-0.9.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/mcabber-0.9.1.ebuild,v 1.1 2007/02/26 08:35:18 wschlich Exp $ + +DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP" +HOMEPAGE="http://www.lilotux.net/~mikael/mcabber/" +SRC_URI="http://www.lilotux.net/~mikael/${PN}/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +IUSE="ssl crypt" + +LANGS="de en fr nl pl uk ru" +# localized help versions are installed only, when LINGUAS var is set +for i in ${LANGS}; do + IUSE="${IUSE} linguas_${i}" +done; + +DEPEND="ssl? ( >=dev-libs/openssl-0.9.7-r1 ) + crypt? ( >=app-crypt/gpgme-1.0.0 ) + >=dev-libs/glib-2.0.0 + sys-libs/ncurses" + +src_compile() { + econf \ + $(use_enable crypt gpgme) \ + $(use_with ssl) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make install DESTDIR=${D} || die "make install failed" + # clean unneeded language documentation + for i in ${LANGS}; do + ! use linguas_${i} && rm -rf ${D}/usr/share/${PN}/help/${i} + done + + dodoc AUTHORS ChangeLog NEWS README TODO mcabberrc.example + dodoc doc/README_PGP.txt + + # contrib themes + insinto /usr/share/${PN}/themes + doins ${S}/contrib/themes/* + + # contrib generic scripts + exeinto /usr/share/${PN}/scripts + doexe ${S}/contrib/*.{pl,py,rb} + + # contrib event scripts + exeinto /usr/share/${PN}/scripts/events + doexe ${S}/contrib/events/* +} + +pkg_postinst() { + einfo + einfo "MCabber requires you to create a subdirectory .mcabber in your home" + einfo "directory and to place a configuration file there." + einfo "An example mcabberrc was installed as part of the documentation." + einfo "To create a new mcabberrc based on the example mcabberrc, execute the" + einfo "following commands:" + einfo + einfo " mkdir -p ~/.mcabber" + einfo " bzcat ${ROOT}usr/share/doc/${PF}/mcabberrc.example.bz2 >~/.mcabber/mcabberrc" + einfo + einfo "Then edit ~/.mcabber/mcabberrc with your favorite editor." + einfo + einfo "As of MCabber version 0.8.2, there is also a wizard script" + einfo "with which you can create all necessary configuration options." + einfo "To use it, simply execute the following command:" + einfo + einfo " ${ROOT}usr/share/${PN}/scripts/mcwizz.rb" + einfo + einfo "See the CONFIGURATION FILE and FILES sections of the mcabber" + einfo "manual page (section 1) for more information." + einfo + einfo "From version 0.9.0 on, MCabber supports PGP encryption of messages." + einfo "See README_PGP.txt for details." + einfo + einfo "Check out ${ROOT}usr/share/${PN} for contributed themes and event scripts." + einfo +} |