blob: 0680ff7b5faf2391c2250194c7847461b1487665 (
plain)
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/gabber/gabber-0.8.8.ebuild,v 1.21 2005/09/16 00:20:48 agriffis Exp $
inherit flag-o-matic eutils
DESCRIPTION="The GNOME Jabber Client"
SRC_URI="mirror://sourceforge/gabber/${P}.tar.gz"
HOMEPAGE="http://gabber.sourceforge.net"
IUSE="ssl crypt xmms nls ipv6"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 ppc sparc x86"
RDEPEND=">=gnome-base/gnome-libs-1.4.1.7
<gnome-base/libglade-2.0.0
<gnome-extra/gal-1.99
>=dev-cpp/gnomemm-1.2.2
<dev-cpp/gtkmm-1.3.0
ssl? ( >=dev-libs/openssl-0.9.6 )
crypt? ( >=app-crypt/gnupg-1.0.5 )
xmms? ( >=media-sound/xmms-1.2.7 )"
DEPEND="${RDEPEND}
>=sys-apps/sed-4
nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${A}
cd ${S}/omf-install
sed -i -e "s/-scrollkeeper-update.*//" Makefile.in
cd ${S}; epatch ${FILESDIR}/${P}-gcc.patch
}
src_compile() {
replace-flags "-O3" "-O2"
CFLAGS="${CFLAGS} -I/usr/include"
local myconf=
use ssl \
&& myconf="${myconf} --with-ssl-dir=/usr" \
|| myconf="${myconf} --disable-ssl"
# For some reason use_enable was always enabling. rizzo.
use ipv6 && myconf="${myconf} --enable-ipv6"
econf ${myconf} \
`use_enable xmms` \
`use_enable nls` || die "configure failed"
emake || die "make failed"
}
src_install() {
einstall || die
# make sure we don't overwrite the scrollkeeper db
rm -rf ${D}/var/lib/scrollkeeper
}
|