blob: 667b43c9c5735e41d1fa96a019e6cdbc286ee053 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Joe Bormolini <lordjoe@bigfoot.com>
# $Header: /var/cvsroot/gentoo-x86/net-mail/spruce/spruce-0.7.6-r1.ebuild,v 1.1 2001/10/06 10:08:19 azarah Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Gtk email client"
SRC_URI="ftp://spruce.sourceforge.net/pub/spruce/devel/${P}.tar.gz"
HOMEPAGE="http://spruce.sourceforge.net/"
RDEPEND=">=x11-libs/gtk+-1.2.10-r4
gnome-base/libglade
ssl? ( >=dev-libs/openssl-0.9.6 )
gpg? ( app-crypt/gnupg )
gnome? ( gnome-base/gnome-print-0.29-r1 )"
DEPEND="$RDEPEND nls? ( sys-devel/gettext )"
# Doesn't work? Please test =)
src_compile() {
local myopts
if [ -z "`use nls`" ]; then
myopts="--disable-nls"
fi
if [ "`use ssl`" ]; then
echo "SSL does not work"
# myopts="$myopts --with-ssl"
fi
if [ "`use gpg`" ] ; then
myopts="$myopts --enable-pgp"
else
myopts="$myopts --disable-pgp"
fi
if [ "`use gnome`" ] ; then
myopts="$myopts --enable-gnome"
fi
try ./configure --prefix=/usr --host=${CHOST} ${myopts}
try make
}
src_install () {
try make prefix=${D}/usr install
dodoc ChangeLog README README.firewall INSTALL
}
|