summaryrefslogtreecommitdiff
blob: eb25f8f066192f8ba4fd2422ff2c5e2563190898 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author Frederic Brin <duckx@libertysurf.fr>, Maintainer: Bart Verwilst <verwilst@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-im/gabber/gabber-0.8.7-r1.ebuild,v 1.3 2002/05/27 17:27:39 drobbins Exp $

S=${WORKDIR}/${P}
DESCRIPTION="The GNOME Jabber Client"
SRC_URI="mirror://sourceforge/gabber/${P}.tar.gz"
HOMEPAGE="http://gabber.sourceforge.net"
SLOT="0"
DEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1
	>=gnome-base/libglade-0.17-r1
	>=gnome-extra/gal-0.13
	>=gnome-extra/gnomemm-1.2.0
	>=x11-libs/gtkmm-1.2.5
   	ssl? ( >=dev-libs/openssl-0.9.6 )
   	crypt? ( >=app-crypt/gnupg-1.0.5 )"

RDEPEND="nls? ( sys-devel/gettext )"

src_compile() {
	local myconf

	use ssl \
	   || myconf="${myconf} --disable-ssl"

	use nls \
		|| myconf="${myconf} --disable-nls"

	./configure --host=${CHOST}		\
		    --prefix=/usr		\
			--mandir=/usr/share/man	\
		    --sysconfdir=/etc		\
		    --localstatedir=/var/lib	\
   		    ${myconf} || die

	emake || die
}

src_install() {
	make prefix=${D}/usr			\
	     sysconfdir=${D}/etc		\
	     localstatedir=${D}/var/lib		\
		 mandir=${D}/usr/share/man	\
	     install || die
}