summaryrefslogtreecommitdiff
blob: f7585621deb7f055925b089e053069a5305d9843 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-mail/evolution/evolution-0.9.ebuild,v 1.1 2001/04/28 22:21:22 achim Exp $

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="A GNOME groupware application, a Microsoft Outlook workalike"
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/unstable/sources/${PN}/${A}"
HOMEPAGE="http://www.helixcode.com"

DEPEND=">=gnome-base/gnome-core-1.2.4
	>=gnome-base/libunicode-0.4-r1
	>=gnome-base/gal-0.5
	>=gnome-base/gtkhtml-0.8.3
	ldap? ( >=net-nds/openldap-1.2 )"

src_compile() {

    local myconf
    if [ "`use ldap`" ] ; then
	myconf="--enable-ldap=yes"
    else
	myconf="--enable-ldap=no"
    fi
    try ./configure --prefix=/opt/gnome --host=${CHOST} $myconf
    try make

}

src_install () {

    cd ${S}
    try make DESTDIR=${D} install
    dodoc AUTHORS COPYING ChangeLog HACKING MAINTAINERS
    dodoc NEWS README
}