Files
@ 3d8228355825
Branch filter:
Location: portage-overlay.git/net-im/centerim/centerim-5.0_alpha1.ebuild - annotation
3d8228355825
2.6 KiB
application/vnd.gentoo.ebuild
add ebuilds from server tree
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 3d8228355825 | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/centerim/centerim-4.22.5.ebuild,v 1.7 2008/11/07 23:20:28 swegener Exp $
WANT_AUTOMAKE="none"
inherit eutils autotools
PROTOCOL_IUSE="aim gadu icq irc jabber lj msn rss yahoo"
IUSE="${PROTOCOL_IUSE} bidi nls ssl crypt jpeg otr"
DESCRIPTION="CenterIM is a fork of CenterICQ - a ncurses ICQ/Yahoo!/AIM/IRC/MSN/Jabber/GaduGadu/RSS/LiveJournal Client"
SRC_URI="http://www.centerim.org/download/cim5/centerim-5.0-alpha1.tar.bz2"
HOMEPAGE="http://www.centerim.org/"
SLOT="5"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
DEPEND=">=sys-libs/ncurses-5.2
bidi? ( dev-libs/fribidi )
ssl? ( >=dev-libs/openssl-0.9.6g )
jpeg? ( media-libs/jpeg )
jabber? (
otr? ( net-libs/libotr )
crypt? ( >=app-crypt/gpgme-1.0.2 )
)
msn? (
net-misc/curl
dev-libs/openssl
)"
RDEPEND="${DEPEND}
nls? ( sys-devel/gettext )"
S="${WORKDIR}"/${P/centerim-5.0-alpha1}
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
if use otr && ! use jabber
then
eerror
eerror "Support for OTR is only supported with Jabber!"
eerror
die "Support for OTR is only supported with Jabber!"
fi
if use gadu && ! use jpeg
then
ewarn
ewarn "You need jpeg support to be able to register Gadu-Gadu accounts!"
ewarn
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
eautoreconf
# Don't execute git commands, bug #228151
cat >"${S}"/misc/git-version-gen <<-EOF
#!/bin/sh
echo -n "${PVR}"
EOF
}
src_compile() {
econf \
$(use_with ssl) \
$(use_enable aim) \
$(use_with bidi fribidi) \
$(use_with jpeg libjpeg) \
$(use_with otr libotr) \
$(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 AUTHORS ChangeLog FAQ README THANKS TODO
}
|